deep.py
# Prompt user for answer
answer = input("What is the Answer to the Great Question of Life, the Universe, and Everything? " ).strip().lower()
# If answer == value: print yes or no.
if answer == "42" or answer == "forty-two" or answer == "forty two":
print("Yes")
else:
print("No")
Last updated
Was this helpful?