daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Jan 21st, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
Top