Why do I get a syntax error in this code on line 12? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do I get a syntax error in this code on line 12?

https://code.sololearn.com/cM2koAVwV5u0/?ref=app

3rd Aug 2022, 12:57 PM
Lawrence Reynolds
1 Answer
+ 4
You forgot to close the parentheses for the call to int() at line 10.
3rd Aug 2022, 1:18 PM
Ipang