Usuń puste miejsca z listy Python
for i in range(0,(len(list))):
x = str(list[i]).strip(' ')
list[i] = x
Vihaking
for i in range(0,(len(list))):
x = str(list[i]).strip(' ')
list[i] = x
list2 = filter(None, list1)
[name for name in starring if name.strip()]