mardi 22 mars 2016

Python: using "if not" on multiple items

Can I do this in Python:

if not (list1, list2, list3):
    ...

To check if all given lists are empty?

If not how else would I do it?

Aucun commentaire:

Enregistrer un commentaire