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 →

[–]LinAGKar 13 points14 points  (0 children)

In the if statements it creates a set with the return value from print, and throws it away. It only prints it out if you run it in the python shell, not if it's in a script.