Coda
Developer
|
|
|
#11
|
|
Code:
def hello():
'''One of the many hellos'''
print('Hello, this is great, but lets continue.')
def hi():
'''One of the many... his...'''
print('Hi, ready to stop fooling around now?')
import time
time.sleep (1)
answer_is = input('Great! Now lets continue with a reasponse\ntry saying "Hello or Hi."\n>')
while True:
if answer_is in ('hello', 'hello.', 'Hello','Hello.'):
hello()
break
elif answer_is in ('hi, Hi, hi., Hi.'):
hi()
break
else:
print ('Please reaspond with "Hello" or "Hi")
Games by Coda (updated 4/8/2025 - New game: Marianas Miner)
Art by Coda (updated 8/25/2022 - beatBitten and All-Nighter Simulator)
Mega Man: The Light of Will (Mega Man / Green Lantern crossover: In the lead-up to the events of Mega Man 2, Dr. Wily has discovered emotional light technology. How will his creations change how humankind thinks about artificial intelligence? Sadly abandoned. Sufficient Velocity x-post)
|
|
Posted 09-18-2017, 11:12 AM
|
|
|