Advertisement
Guest User

Untitled

a guest
Sep 18th, 2014
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. calchar = ("q", "i", "z", "e", "h", "s", "g", "l", "b")
  2.  
  3. f = open("dictionary.txt")
  4. data = f.read()
  5.  
  6.  
  7. for line in data:
  8.   if any(c in line for c in calchar):
  9.     print(line)
  10.  
  11. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement