+ 1
Does anyone knows how to use the function While?
I donât know why is my While function not working, can anyone help me please. I start learning programming Today so Im new at all functions https://code.sololearn.com/cWzE3bEpPX2g/?ref=app
2 Answers
+ 2
Works fine, the thing is in sololearn you should write all the input in the beginning of the program so if you input a wrong password it will stay in the while loop and it will not find another input so it will tell you there is an error, but if you want to try it try writing many wrong password in different lines then in the last line write the correct one like this
Hello
Wrong password
Still wrong
london
+ 2
itâs working