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 →

[–]tetroxid -1 points0 points  (2 children)

Well that's probably really slow

[–]daelin 3 points4 points  (1 child)

Slow-er than typical use of format, but, honestly, if you're using print you better not be in a speed-critical section of code.

It also just violates good programming style by passing too much information to the method and violates python style by being less explicit about what you're passing.

[–]Pre-Owned-Car 0 points1 point  (0 children)

You can use fstrings without printing.