How do I put a variable under an if statement?
I am making a multiple choice game. I want it to be like this: if the input is A, print a prompt that asks for input. Here it is... What's the issue? Thanks! choice_1 = input("\n Choose a letter. \n A: AAA \n B: BBB \n") if choice_1 == 'A': print("XYZ") choice_2 = input("A: ABC \n B: DEF \n C: GHI \n"): if choice_2 == 'A': print("XYZ") elif choice_2 == 'B': print("UVW") elif choice_2 == 'C': print("RST") else: print("That is not a choice") elif choice_1 == 'B': print("XYZ") choice_3 = input("A: ABC B: DEF \n C: GHI D: JKL"): if choice_3 == 'A': print("XYZ") elif choice_3 == 'B': print("UVW") elif choice_3 == 'C': print("RST") elif choice_3 == 'D': print("OPQ") else: print("That is not a choice") else: print("That is not a choice.")