Python - User login and sign-up system
How to make a user sign-up and login system in Python 3?
password = "bob"
pass_count = 0
while pass_count < 5:
pass_attempt = input("Password: ")
if pass_attempt = password:
pass_count = pass_count + 1
I'm thinking something like that should work. Sign up should work the same, just give them an option to create or login. And then ask them for a username and password. Add that to the list of usernames. And when a user puts in their username set the value of password to their corresponding password. I'm not sure how to save items although.