Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #!/usr/bin/python
- #
- # By dvdjaco
- # Exercise 9.1
- #
- f = open("words.txt")
- d_words = dict()
- for word in f:
- d_words[word.rstrip()] = 1
- print d_words
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement