This is my code:
while(1):
``month`=int(input("Enter any month"))
if month<0 and month>12:
print("plz enter valid month")
else:
print("yes")
break
The code is not showing as it is intended to:
Enter any month 129
yes
Where did I go wrong?
Aucun commentaire:
Enregistrer un commentaire