0
How do I exit the loop if the user doesnt want to roll again?
2 Réponses
+ 1
Change
while userRoll == "Yes" or "yes":
To
while userRoll == "Yes" or userRoll == "yes":
Same goes for the other while/if loops containing "or".
+ 3
Or change it to while userRoll.lower() == 'yes', so that 'YES', 'yES' etc. are also caught