samedi 19 décembre 2015

"If not" condition statement in python [duplicate]

This question already has an answer here:

if not start: 
   new.next = None 
   return new

what does "if not" mean? when will this code execute?

is it the same thing as saying if start == None: then do something?

Aucun commentaire:

Enregistrer un commentaire