How am I going to resolve this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How am I going to resolve this?

I had the same issue running it on VS Code too. It brought pylint(syntax error) there. https://code.sololearn.com/cbRYn2gZC714/?ref=app

30th May 2020, 10:14 PM
Maryam Bello
Maryam Bello - avatar
8 Answers
+ 3
Your code is right ,it usually occurs when all inputs aren't given or when there is some missing parenthesis in print statement
30th May 2020, 10:26 PM
Abhay
Abhay - avatar
+ 2
Remove those spaces after " and before " and put them back again
30th May 2020, 10:17 PM
Abhay
Abhay - avatar
+ 2
The code is right ,I can't tell about VS because I don't have it and I can't test in it
30th May 2020, 10:23 PM
Abhay
Abhay - avatar
+ 1
Thank you!
30th May 2020, 10:22 PM
Maryam Bello
Maryam Bello - avatar
0
But it won't still run on VS Code! Why?
30th May 2020, 10:22 PM
Maryam Bello
Maryam Bello - avatar
0
I got an error message saying Unexpected EOF while parsing
30th May 2020, 10:25 PM
Maryam Bello
Maryam Bello - avatar
0
Okay. Thank you!
30th May 2020, 10:27 PM
Maryam Bello
Maryam Bello - avatar
0
I has worked! There was actually a missing parenthesis before the print statement.
30th May 2020, 10:33 PM
Maryam Bello
Maryam Bello - avatar