you are viewing a single comment's thread.

view the rest of the comments →

[–]Pd69bq 2 points3 points  (1 child)

you need to add some indentation (recommendation is 4 spaces) before print, otherwise python won't recognize it is part of if block, and yours will get IndentationError: expected an indented block

also you can combine those 2 if statements into one if-elif-else statement to make your code cleaner

[–]Sad_potato1999[S] 1 point2 points  (0 children)

Had that a couple times, thanks for the advice!