If you want to print "Password verified" when the user guesses the matching password, what is wrong with the following code?
password = "SECRET"
guess = input("What's the password? ")
if (guess != password):
print("Password verified")
else:
print("Access denied")
Responses