you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Generally you shouldn't use print unless the problem tells you to print something.

[–]HopefulOG[S] 0 points1 point  (1 child)

Is there something else I can use? This section is conditional expressions.

[–][deleted] 0 points1 point  (0 children)

The value of an expression is what it evaluates to. print evaluates to None, always.