from random import choice adjectives = ('happy', 'friendly', 'smiling') nouns = ('boy', 'girl', 'dog', 'monkey') verbs = ('jumped', 'played', 'ran', 'swam') adverbs = ('enthusiastically', 'warily', 'quickly') for n in range(5): print 'The', choice(adjectives), choice(nouns), choice(verbs), choice(adverbs)