Task-3 Qsn 10

PERUMAL S - Jul 16 - - Dev Community

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")

. . . . . . . . . . . .
Terabox Video Player