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