Usuń puste przestrzenie 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
string=' t e s t '
print(string.replace(' ',''))