Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. def get_dictionary_wordlist():
  2. f = open("dictionary.txt")
  3. return f.read().splitlines()
  4.  
  5. def text_get_dictionary_wordlist():
  6. words = get_dictionary_wordlist()
  7. first10 = ""
  8. x = 0
  9. for i in words:
  10. if x < 10:
  11. first10 = first10 + i + ","
  12. x = x + 1
  13. print(first10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement