so i just started learning python, and im making a login interface. this is the interface
username = input("Username: ")
password = input("Password: ")
correct_username = ["admin", "peter", "lily"]
correct_password = ["admin1", "peter1", "lily1"]
if username == correct_username[0,1,2] and password == correct_password[0,1,2]:
print("Logged in as: " + username)
else:
print("Wrong password or username!")
i dont know how to list all correct_username's and the correct_password's in "if username == correct_username[0,1,2]" instead of writing them out by hand...