Skip to content

Instantly share code, notes, and snippets.

@csytan
Created January 20, 2011 04:13
Show Gist options
  • Save csytan/787381 to your computer and use it in GitHub Desktop.
Save csytan/787381 to your computer and use it in GitHub Desktop.
import random
def name_generator():
adjectives = ['narly', 'arrogant', 'fickle', 'eager', 'modest', 'greasy', 'tart', 'swift', 'quaint', 'unslightly', 'fancy', 'brave', 'delightful', 'jolly', 'shy', 'itchy', 'obedient', 'voiceless', 'raspy', 'silly', 'powerful', 'tender', 'clumsy', 'juicy', 'bitter', 'damp', 'fluffy', 'substantial', 'sticky', 'ancient', 'foolish']
nouns = ['carrot', 'barley', 'banana', 'garlic', 'pickle', 'mouse', 'baboon', 'herring', 'tramp', 'panda', 'owl', 'parsnip', 'whale', 'lettuce', 'yam', 'mammoth', 'rock', 'mushroom', 'elephant', 'panther', 'phoenix', 'onion', 'cloth', 'chair', 'lemonade', 'tyvek', 'underpants', 'willow', 'girdle', 'clover', 'society', 'beaver', 'tart', 'wolf', 'leather', 'pantyhose', 'socks']
return random.choice(adjectives) + random.choice(nouns)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment