Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
210 B
1
Indexable
answer = input("Do you want to end game? (yes or no): ")
answer = answer.strip().lower()

while answer != "yes":
    answer = input("Do you want to end game? (yes or no): ")
    answer = answer.strip().lower()