Code: Select all
import random
looping=10
while looping is 10:
fortunes=['Use the force you must, whatever may happen.','Yes. Hmmm.','Probably it will happen.','Certainly my friend.','Promising is the outcome my friend!','Sure about that I am not.','Again you must ask me.','Doubtful I am about this.','No my friend.']
how_many_fortunes=len(fortunes)
raw_input(' Think of a question my friend. Let the force guide you. Press enter you must to find the outcome you will! ')
which_fortune=random.randint(0,how_many_fortunes-1)
print str(" ") + fortunes[which_fortune]