PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
#try a password!
password = "MrDoggles"
password_input = input("The password you entered: ")
print(password_input)
if password_input == password:
print("\nAccess Granted\nYay, you cracked the code, well done!\n:)")
if password_input != password:
print("VS\nThe real password: MrDoggles\n\nAccess Denied\n:(")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run