I have this program:
print()
print ('------MENU------')
print ('1. Welcome to Python')
print ('2. Python is fun')
print ('3. This could be a challenge')
print ('4. Exit')
print()
choice = int(input('please enter a choice between 1 to 4: '))
for choice in (1,5):
if choice ==1:
print ('Welcome to python')
elif choice == 2:
print ('Python is fun')
elif choice == 3:
print ('This could be a challenge')
else:
break
It should print the MENU first and then asks to input an integer. My question is why it prints twice each time I input an integer between 1 to 3?