Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_dictionary_wordlist():
- f = open("dictionary.txt")
- return f.read().splitlines()
- def text_get_dictionary_wordlist():
- words = get_dictionary_wordlist()
- first10 = ""
- x = 0
- for i in words:
- if x < 10:
- first10 = first10 + i + ","
- x = x + 1
- print(first10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement