My Python solutions for Code coach problems are not accepted due to the same error message | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

My Python solutions for Code coach problems are not accepted due to the same error message

many python solutions I posted are not accepted in code coach challenge , even if it is working well in my local machine the message that I get is : syntaxError: Invalid character in identifier Locally I put the same input as in the problem definition and I get the same output as expected Is there any tips Please Thanks a lot

26th Dec 2019, 9:29 PM
Red1
Red1 - avatar
9 Answers
+ 1
And for splitting strings use: input().strip() It costs me hours to solve this issue 😉
26th Dec 2019, 10:52 PM
Coding Cat
Coding Cat - avatar
+ 1
Thanks a lot ..the problem still in the phone editor . Strange decision to not allow website version IDE ...
26th Dec 2019, 11:28 PM
Red1
Red1 - avatar
0
Which coding challenge are you doing ?
26th Dec 2019, 9:38 PM
SoundInfinity
SoundInfinity - avatar
0
New Driver's License
26th Dec 2019, 9:39 PM
Red1
Red1 - avatar
0
Copy one of this codes to the playground and post the link here. So someone will have a look at this.
26th Dec 2019, 9:43 PM
Coding Cat
Coding Cat - avatar
0
I just copy solution in the playground you can check it ...Thanks a lot guys
26th Dec 2019, 9:45 PM
Red1
Red1 - avatar
0
Ok Thanks I will try to correct
26th Dec 2019, 10:14 PM
Red1
Red1 - avatar
0
Splitting strings is not working. Test: Russia with number 4 Output: Russ The left over is missing: -ia
26th Dec 2019, 10:24 PM
Coding Cat
Coding Cat - avatar
0
I use jupytet notebook or Google colab and the code works fine but for the code coach interpreter it gives this error The code playground ide in PC browser ..there is no problem... Why they don't let post the solution in there website version
26th Dec 2019, 10:52 PM
Red1
Red1 - avatar