Need help


Hello I need some help with a problem. I wrote a code that has 3 usernames and later on 3 passwords for each username. But the problem is when I finished the username part it gives me an error and I can't find the mistake

This is the code i wrote

It says expected an intended block

It needs to say what is your username then you put in the one of the 3 usernames and later on I'm going to add password but i can't even run it. I tried to do a try and except code but it doesn't help.


your elif's are wrongly indented, they need 4 spaces/tab as indent to place them inside the try/except code block


Thank you for answering,
I got another question when i run the script it says that john isn't defined when I input it.


John is a name, so it should be a string


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.