second attempt
parent
8b68f1785d
commit
940b34accf
@ -0,0 +1 @@
|
||||
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
|
@ -0,0 +1,10 @@
|
||||
questions = ["What is your name?", "What is your favorite color?", "What is your quest?"]
|
||||
n = 0
|
||||
while True:
|
||||
print("Type q to quit")
|
||||
answer = input(questions[n])
|
||||
if answer == "quit" or "Quit":
|
||||
break
|
||||
n += 1
|
||||
if n > 2:
|
||||
n = 0
|
Loading…
Reference in New Issue