So I was writing this code where I needed to read lines of numbers from one file.
After some lines there is gap in one line and it continue. I did read that strip will delete some white spaces on the start and at the end of the line. But I dont really understand meaning in this code. Like if there is some text in line it will add another strip.
for line in file:
if line.strip():
seznam_veci.append(line.strip())
I don't really understand how this work in this code.