Guest User

Untitled

a guest
Jan 21st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. caps = map(chr,range(65,91))
  2. with open('your_file.txt') as f:
  3. print len(filter(lambda char: char in caps, f.read())tKxU
  4. tXyy
  5. 6AGW
  6. PXFY
  7. MEvp)
Add Comment
Please, Sign In to add comment