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

The code is checking if the guess is not equal to the password using the != operator. If the guess does not match the password, it will print "Password verified" instead of "Access denied".