(Oct-15-2020, 01:17 PM)Shishi Wrote: ok, so with line 30 i need to do something like thisif b == "0"?
Correct. Just don't forget to end with a colon after the final quotation mark.
(Oct-15-2020, 01:47 PM)Shishi Wrote: so... i applied your code and now i have another error:
That's one of those missing parentheses I warned you about. You need an additional closing parenthesis on line 73.
One other thing I just noticed... When you are appending to a file, you still need to use f.write(), not f.append() (as in line 34 for example). The data you write is automatically appended because you have opened the file in append mode using 'a' in the open() call.