0
For the Camel to snake challenge its only putting '_' on the last Upper case letter not all but 'i' in the for loops sees them
5 odpowiedzi
+ 1
I hope that helped, I corrected your Code and uploaded it for further help.
edit: pls only look for the solution when you either finished or stuck, tho I think you get it on your own already. 😉
https://code.sololearn.com/cu80DlR0F24k/?ref=app
+ 2
Trust me i didn't want a full answer just a puzzle piece i missed
0
Your Problem's that you Always Change Camel Case.
You Loop Looks if Camel Case have upper Case but when you find one you add it in Snake Case, but in the next Loop you do it the same with the new one.
Camel Case = thisIsASentence
First Upper: this_isASentence = Snake Case
Next Upper: thisIs_aSentence = Snake Case.
0
Thank youu i completely missed that
0
I will thank you