+ 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

20th Jul 2020, 5:53 AM
•—• • •-• ••• —- -•
•—• • •-• ••• —- -• - avatar
3 Answers
+ 5
You need an extra ) on line 140 to close the print() statement.
20th Jul 2020, 6:00 AM
Rowsej
Rowsej - avatar
+ 4
You are missing the closing parentheses ")" on line 140.
20th Jul 2020, 6:01 AM
Arsenic
Arsenic - avatar
+ 3
Didnt see that, thanks guys.
20th Jul 2020, 2:41 PM
•—• • •-• ••• —- -•
•—• • •-• ••• —- -• - avatar