Guest User

Untitled

a guest
Jan 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 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()))
Add Comment
Please, Sign In to add comment