Hello, i am a beginner programer using python, how can i make python understand multiple passwords, here is an example of what i mean:
password = input ("Enter Password to " \
"enter terminal: ")
if password == "Cyndi": -------here is where i need it to understand more than 1 password
print ("Access Granted ")
else:
print ("Access Denied")
print ("Contact System Administrator ")
input ("Press exit")
password = input ("Enter Password to " \
"enter terminal: ")
if password == "Cyndi": -------here is where i need it to understand more than 1 password
print ("Access Granted ")
else:
print ("Access Denied")
print ("Contact System Administrator ")
input ("Press exit")