mercredi 4 octobre 2017

In Python, the difference between "if item not in mylist" and "if not item in mylist" [duplicate]

This question already has an answer here:

In Python, what is the difference between using

if ITEM not in MYLIST and

if not ITEM in MYLIST?

Aucun commentaire:

Enregistrer un commentaire