Closed lui-dias closed 3 years ago
I have a file with the following commands:
print(if 1 == 1) print(if 1 == 1)
When reading the first line, it returns True, but on the second it returns a ValueError. This is because my program reads only the first line. Is there any way to read all the lines?
I have a file with the following commands:
When reading the first line, it returns True, but on the second it returns a ValueError. This is because my program reads only the first line. Is there any way to read all the lines?