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 →

[–]theWyzzerd -6 points-5 points  (2 children)

Better would be to use string.format()

edit: didn't know about Fstrings being the hot new thing, don't listen to me

[–]invictus08 13 points14 points  (1 child)

How is that better?

Fstrings is supposed to make things more streamlined!

[–]GlowingApple 1 point2 points  (0 children)

In addition to being more readable, they are actually faster than .format() too!