My version.
#!/usr/bin/env python
import random
raw_input("Please ask a question: ")
bases = [
"The answer lies in your heart"
, "I do not know"
, "Almost certainly"
, "No"
, "Instead, ask why you need to ask"
, "Go away. I do not wish to answer at this time"
, "Time will only tell"
]
suffixes = [
"my child"
, "young grasshopper"
]
resp = ', '.join([
random.choice(bases)
, random.choice(suffixes)
])
print resp
(change print resp to print(resp) for Python 3.x)
Example responses
The answer lies in your heart, young grasshopper
Time will only tell, my child
Instead, ask why you need to ask, young grasshopper