liczyć brak na liście Python
lst = ['hey','what',0,False,None,14]
print(sum(x is not None for x in lst))
itsvinayak
lst = ['hey','what',0,False,None,14]
print(sum(x is not None for x in lst))
len(lst) - lst.count(None)