vendredi 31 mars 2017

Python SyntaxError (else statement)

When I ran the script below it displays
SyntaxError: invalid syntax

single = True    

if single = True:
 print "Hey Girl, can I get your number ? "
else
 print "Bye. !"

Aucun commentaire:

Enregistrer un commentaire