My else and else if statements are not working. Every time it is showing incorrect syntax, whether I run it in shell or in file.
else
else if
>>> num = 6 >>> if num == 4: print("no is 4") else: Syntax error: invalid syntax
Aucun commentaire:
Enregistrer un commentaire