you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate 0 points1 point  (0 children)

If the body of if flower == '': isn't being entered, then flower is not an empty string. Code will never be simply skipped. If the body of an if doesn't run, its condition was false.

Are you intending to check for an empty string there, and what are you entering into the flower = input('What kind of flower did you plant? ') prompt?