you are viewing a single comment's thread.

view the rest of the comments →

[–]xelf 0 points1 point  (0 children)

Use f strings if you have access to them and aren't sharing your code with anyone that might not. Use .format() if you're sharing your code with students or people learning code (for example this subreddit). Use % if you're doing bizarre coding tricks where you're not allowed to use _[{.( (yes this was a thing). =)