a guest Jan 21st, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- caps = map(chr,range(65,91))
- with open('your_file.txt') as f:
- print len(filter(lambda char: char in caps, f.read())tKxU
RAW Paste Data