In python 3.8:
if input("Enter password: ") == "swordfish":
print("access granted")
else:
print("access denied!")
5.9m questions
7.7m answers