Comment se débarrasser de toutes les valeurs nulles dans le tableau Python
mylist = [1, 2, 3, '', 4]
mylist = [i for i in mylist if i != '']
Hurt Herring
mylist = [1, 2, 3, '', 4]
mylist = [i for i in mylist if i != '']