+ 1
Why do I get a syntax error
I get a syntax error at line 141. I’ve tried deleting line 141, deleting both line 141 and line 142, and inputting some random messages to be printed on those 2 lines, but I still get the same error on line 141, no matter what the code is. Why is this? The same code is on line 134 but that doesn’t cause an error. I’ve used print() in other code bits, like my fight simulation code, and that doesn’t cause an error either. https://code.sololearn.com/cXR3p2YRO0VA/?ref=app
3 Respuestas
+ 5
You need an extra ) on line 140 to close the print() statement.
+ 4
You are missing the closing parentheses ")" on line 140.
+ 3
Didnt see that, thanks guys.