I would add f-strings to the list and some of the string methods especially .strip(), .split(), and .join()
f”Total Cost: {round(x / 1000000, 1):,}M”
Now that 3.7 is the minimum supported version, it's safe to use.
print (f’some_var: {some_var}’)
one can just do print (f’{some_var=}’)
What’s the next cool thing I should know about f-strings? some_var='abcd'
Great find! f'{f(x, y)=}' -> 'f(x, y)=5'https://docs.python.org/3/whatsnew/3.8.html#f-strings-suppor...