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