Guest User

Untitled

a guest
Oct 17th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import random
  2.  
  3. words = open('/usr/share/dict/words', 'r').read().split('\n')
  4.  
  5. while 1:
  6. try:
  7. word = words[random.randint(0, len(words))]
  8. word = word[0].upper() + word[1:].lower() + 'Bot'
  9. print word
  10. raw_input()
  11. except:
  12. break
Add Comment
Please, Sign In to add comment