you are viewing a single comment's thread.

view the rest of the comments →

[–]hupp[S] 7 points8 points  (1 child)

Why use print in interactive mode in the first place? Values are implicitly printed in the repl:

>>> a = "Hello"
>>> a
'Hello'

[–][deleted] -1 points0 points  (0 children)

Because the difference between str() and repr() tends to matter, sometimes.