Jun-20-2021, 10:10 AM
(This post was last modified: Jun-20-2021, 10:23 AM by Yoriz.
Edit Reason: Added code tags
)
Dear all
Why does this code not work when the correct combination of username and password are entered?
Why does this code not work when the correct combination of username and password are entered?
username = input("Enter your Username: ") password = input("Enter your Password: ") while (username != "Jack" and password != "123") or (username != "Jill" and password != "345"): username = input("Enter your Username: ") password = input("Enter your Password: ") print (".....Entering the System")