0

Trouble with code

Been working on a password check program and I'm having trouble with the loops running correctly. I either get an infinite loop of text or I get an infinite number of prompts to enter a password. Even if it doesn't strike any of the criteria. https://code.sololearn.com/c00Fi61eEYX3/?ref=app

22nd Jul 2019, 7:02 AM
Andrew Sheffield
Andrew Sheffield - avatar
7 Réponses
+ 1
Ahhhhhh. I got it now after really working with it. Thank you for your help! This was my first real effort at writing code on my own so I wasnt quite skilled in actually structuring a program. But your advice really made it clear to me. Again thank you!
23rd Jul 2019, 9:26 AM
Andrew Sheffield
Andrew Sheffield - avatar
0
I fixed a the while part and it seems to perform as instructed, but when I enter the first password attempt regardless of right or wrong it still seems to always come back as false. https://code.sololearn.com/c00Fi61eEYX3/?ref=app
22nd Jul 2019, 8:10 AM
Andrew Sheffield
Andrew Sheffield - avatar
0
I seem to just be having an issue with the else statement or maybe its brackets placement, but I keep getting an "}" expected error. https://code.sololearn.com/cNIHf58diUqT/?ref=app
23rd Jul 2019, 6:11 AM
Andrew Sheffield
Andrew Sheffield - avatar