monty python in python 3

Ok... I have little memory so I can't quote a movie, or anything else for that matter, but I love Monty Python.   So here's something I cooked up when I should be asleep.
spam = "knights"
eggs = "NI"
print(f"We are the {spam} who say '{eggs}'!")
answer = input("Did you bring us a Shrubbery?").lower()

if answer in ['yes', 'y']:
print(f"We are now the {spam} who say...Niki-niki-new-how-itsy. ")
if (answer not in ['yes', 'y']):
print("Bring out your dead!")


Popular posts from this blog

Statistics, Python, Making a Stem Plot

Pandas Python and a little probability

JavaScript Ascii animation with while loops and console.log