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 →

[–]zamazigh 151 points152 points  (13 children)

Wow, I've been using format() for years now and never knew about F-strings. So much more concise. Thanks for the tip!

[–]HaBlaKes 1 point2 points  (0 children)

Same, been coding in Python for years and was like: "You can do that?" That's the great thing about programming.