Write a program that asks the user to enter a password. If the password is correct, print โAccess grantedโ; otherwise, print โAccess deniedโ.
Ans
save_password=input("save your password")
a=input("enter your password :")
if a==save_password:
print("access granted")
else:
print("access denied")
Top comments (0)