mercredi 18 mars 2015

The Python shell is telling me it is invalid syntax


if guess == answer:
print("Correct!")
score + 1
elif:
print("Incorrect")
else:
except ValueError:
print("Expected integer")


That was a small section of my code. It states that elif: is invalid, specifically the :.


Aucun commentaire:

Enregistrer un commentaire