+ 1

Problem on R's break the loop practice

I was coding the solution for R's break the loop practice, and when I thought everything was correct, it was actually wrong. Now sadly the only test condition is locked , so I tried to run my code in the code playground, and the error is "unexpected input" or something like that. If you know why please let me know! Here's my code: https://code.sololearn.com/c1kL567Usuj9/?ref=app

16th Mar 2023, 12:33 AM
RayZ
RayZ - avatar
2 Respuestas
+ 2
RayZ you seem to have some invisible characters in your code. Did you copy paste them from somewhere? you can fix it by backspacing the indentations for each line and indenting them again if you want. R works with or without the indentations anyway.
16th Mar 2023, 3:35 AM
Bob_Li
Bob_Li - avatar
+ 1
Thanks Bob_Li it worked!
16th Mar 2023, 7:07 AM
RayZ
RayZ - avatar