Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def make_random_word():
- word = ""
- while len(word) < 5:
- word += random.choice(string.letters)
- return word
- def make_random_word(length = 5):
- return "".join([random.choice(string.letters) for x in xrange(length)])
Add Comment
Please, Sign In to add comment