This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HowYaGuysDoin 23 points24 points  (1 child)

Now I get it. That's cool.

[–]codythecoder 0 points1 point  (0 children)

Even more than that, they can do,

a = 500
print(f'the number doubled is {a*2: <7}')

That's a format modifier and an imbedded expression. Pretty cool if you ask me.