Feb-05-2020, 04:51 PM
while True: print("Where is Moscow located at?") answer = input("a) Russia\nb) China\nc) Japan\nd) Mongolia\nAnswer: ") if answer.lower() in ("a", "russia"): print("Right Answer!") break else: print("wrong answer")
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs