I'm very new in Coding and I started with Python to understand how to code. I'm going to program a simple quiz, where the User choose which Quiz they want to play. I did it the input() and yet it does not go to the if - Statement. Code:
import quiz1
import quiz2
import quiz3
import quiz4
quiz = input("Please choose which Quiz you want to play (1-4): ")
print(quiz)
if quiz == 1:
quiz1
#f1 = open(fragebogen1.py)
#print(f1)
elif quiz == 2:
print("hello")
elif quiz == 3:
print("hello")
elif quiz == 4:
print("hello")
Thanks in advance