Why it is showing error?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
6th Jul 2019, 5:54 AM
SOUMYA
SOUMYA - avatar
8 Answers
+ 5
It is working now
6th Jul 2019, 7:36 AM
SOUMYA
SOUMYA - avatar
+ 4
It is showing error in line 19
6th Jul 2019, 6:53 AM
SOUMYA
SOUMYA - avatar
+ 4
This code is running correctly in pydroid and not in sololearn.. I don't know why..??
6th Jul 2019, 7:23 AM
SOUMYA
SOUMYA - avatar
+ 4
Example which i have given is of pydroid and it runs so well.
6th Jul 2019, 7:25 AM
SOUMYA
SOUMYA - avatar
+ 2
1: invalid characters would cause errors depending on IDE.
6th Jul 2019, 6:51 AM
Seb TheS
Seb TheS - avatar
+ 2
Yes, but that line is not in your code. Sometimes it may give weird line numbers in error messages, but those are often errors that appear in other modules.
6th Jul 2019, 7:21 AM
Seb TheS
Seb TheS - avatar
+ 2
SoloLearn playground does not support some characters you used in line 1.
6th Jul 2019, 7:25 AM
Seb TheS
Seb TheS - avatar
+ 2
If you want to try the code in SoloLearn you need just to remove those double arrows and •
6th Jul 2019, 7:26 AM
Seb TheS
Seb TheS - avatar