Il 24 lug 2017 2:02 PM, "Gabriele Battaglia" <[email protected]> ha scritto:
a=True
if !a: print "Falso"
Synthax Error.
Come si usa l'esclamativo per negare?
Non mi ricordo la sintassi.
Non di usa. O fai un confronto tipo
if a != True:
print "Falso"
Oppure
if not a:
print "Falso"
Carlos
_______________________________________________ Python mailing list [email protected] https://lists.python.it/mailman/listinfo/python
