while True:
num=raw_input("Please enter a number.")
if (num == 1):
print "Sunday"
elif (num==2):
print "Monday"
elif (num==3):
print "Tuesday"
elif (num==4):
print "Wednesday"
elif (num==5):
print "Thursday"
elif (num==6):
print "Friday"
elif (num==7):
print "Saturday"
else:
print "Invalid Choice!"
option = raw_input("Would you like to continue playing?")
if (option=="yes"):
continue
elif (option=="no"):
break
This my code. When I run it for some reason the output for the first part (The day's of the week) come up as the "else" option which is "Invalid Choice". And when I removed the else statement, the output was just blank. Slightly confused as to why this is happening.