Dec-05-2022, 10:06 PM
okay i did like this:
how can i reset it properly ?
i think i'm too tired now to understand anything, it's 00:07 here, and i really tried today to advance...
snippsat - i have read the task before i started, and understood it
with open("/home/tal/PycharmProjects/pythonProject2/input.txt", "r") as file: line_total = 0 for line in file: if line != "\n": line_total += int(line) else: print(line_total)at least it gave some numbers...
how can i reset it properly ?
i think i'm too tired now to understand anything, it's 00:07 here, and i really tried today to advance...
snippsat - i have read the task before i started, and understood it