+ 2

Passes in Jupyter Notebook but fails in SoloLearn

Password.Vlaidation code i wrote works in Jupyter but fails here. The test case 'PassWord19$#' passes in Jupyter while.fails.in SoloLearn. Anyone throw some light please? https://code.sololearn.com/cNZkgWYi0pl8/?ref=app

2nd Feb 2020, 6:35 PM
AnandG
AnandG - avatar
4 Antworten
+ 4
you forgot $ as special character
2nd Feb 2020, 6:49 PM
Oma Falk
Oma Falk - avatar
+ 3
AnandG you can also code on laptop. SL has a Webbrowser version.
3rd Feb 2020, 6:18 AM
Oma Falk
Oma Falk - avatar
+ 1
Thank you Oma Falk and Alexandr . I see that i missed those here in SoloLearn, but i placed them correctly in Jupyter and that's why it was working good. Bit difficult to type code in phone.. Not used to it.much. Thank you so.much for taking time to respond
3rd Feb 2020, 1:34 AM
AnandG
AnandG - avatar
+ 1
Oma Falk , thank you for informing this. I was ignorant of it until now. Thank you.
3rd Feb 2020, 6:23 AM
AnandG
AnandG - avatar