May-31-2020, 04:24 PM
(May-31-2020, 04:11 PM)NectDz Wrote: I see in your type 'Quit' to give up you could of made it more effective and simpler. Let's say they type qUiT the program does not know what to do.
This is a good point. One easy way to deal with this possibility would be to change line 5 to use the string method lower() so that no matter how they type it, you only evaluate what it looks like with all lower-case letters.
if guess.lower() == 'quit':