Skip to content

Instantly share code, notes, and snippets.

@shabda
Last active December 15, 2015 20:18
Show Gist options
  • Save shabda/5317134 to your computer and use it in GitHub Desktop.
Save shabda/5317134 to your computer and use it in GitHub Desktop.
import random
import string
def random_word_from_seed(seed, len):
random.seed(seed)
letters = string.ascii_lowercase
return ''.join([random.choice(letters) for i in range(len)])
print random_word_from_seed(1944062, 5) +" "+random_word_from_seed(2068527, 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment