vendredi 17 janvier 2020

This simple If statment send me an SyntaxError: invalid syntax on Python 3.6

elephant_weight = 3000
ant_weight = 0.1

If elephant_weight > ant_weight:
 square()

And the error I get is:

 File "c:/Users/AIRWEBDEV/Documents/exercice.py", line 37
    If elephant_weight > ant_weight:
                     ^
SyntaxError: invalid syntax

Aucun commentaire:

Enregistrer un commentaire