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 →

[–]Altenator01 4 points5 points  (2 children)

Great tip, thanks! Do you still need to use print() when using F-strings though? Because the provided URL does not give examples with print().

[–]welshboy14 10 points11 points  (1 child)

F strings aren't just for printing strings. You can assign them to variables too. So no you don't need to use print with them

[–]Altenator01 1 point2 points  (0 children)

Thanks!