Error: unexpected identifier | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Error: unexpected identifier

I am writing a code for the #onelinechallenge But i get an error in line 55 of my code, can anyone explain to me what is going wrong and what i should do to fix it? (Explaining is the important part for me, so if you don't know how to fix it but can explain it please do) https://code.sololearn.com/W4miDxhfUH7i/?ref=app

4th Mar 2019, 3:39 PM
JibsterGamez
4 Answers
+ 1
Line 54 you missed after +1 a )
4th Mar 2019, 3:43 PM
Juan David Padilla Diaz
Juan David Padilla Diaz - avatar
+ 3
On line 11 "function ask={}" replace "=" with ().
6th Mar 2019, 9:02 AM
Shahram
Shahram - avatar
+ 1
Also in line 12 when you solve the problem of line 54 i is not defined
4th Mar 2019, 3:44 PM
Juan David Padilla Diaz
Juan David Padilla Diaz - avatar
+ 1
Thank you!
4th Mar 2019, 3:58 PM
JibsterGamez