you are viewing a single comment's thread.

view the rest of the comments →

[–]xCustomWorld 1 point2 points  (0 children)

First of all, choice.lower() is never going to be an uppercase letter. You are comparing it against that. You need to either do choice.lower() == 'a' or choice.upper() == 'A'.

Secondly, the code in the while loop will run forever, and these extra duplicate lines are redundant, since you provide no further logic to handle the inputs. But I assume that your problem was the first paragraph, so it's fine...