#!/usr/bin/python #A mini story generator #Nick Montfort #2008-11-20 #Thanks, MM&BC from random import choice d={1:'The little girl grabs some granola bars',2:'The girl puts on a slutty dress',3:'The girl sets off through the park',4:'A wolf whistle greets the girl',5:'The girl turns to smile and wink',6:'The muscular man paces the girl',7:'Chatter and compliments cajole the girl',8:'The man makes a fist behind his back',9:'A snatch of song reminds the girl of her grandmother',10:'The two exchange a knowing glance',11:'Girl and boy circle',11:'There is laughter',12:'His breathing grows ragged',13:'The light dwindles',14:'A lamp in the park fails to come on',15:'The girl moves faster',16:'The pigeons scatter',17:'The man is there first',18:"The girl's bag lies open, on end",19:'A blank stare meets the night',20:"A patrol car's siren chirps"} while True: a=range(1,21) l=choice(range(5,10)) while len(a)>l: a.remove(choice(a)) print "\nHere's the story:" for k in a: print d[k]+'.' raw_input('The end.')