Answer the question
In order to leave comments, you need to log in
How to remove excess from output in Python?
I have a piece of code that takes a value from a range of lines in the text:
for i in range(19, 25):
x = (sheet.cell(row=i, column=2).value)
if x != "None":
print(x)
else : break
Значение 1
Значение 2
...
None
None
None
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question