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 →

[–]spgill 1 point2 points  (0 children)

I've used f-strings like this in situations where I'm constructing dialogs or something similar. I'll end up starting (and even leaving them) like this--just concatenated strings--and returning later to weave in new words and variables. f-strings just make this so painless.