SHARE
TWEET

Untitled

a guest Jan 12th, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. defaultdict(int,
  2.               {" u'CAMILLE'": 10,
  3.                " u'SAHARA'": 1,
  4.                " u'JEREMIAH'": 114,
  5.                " u'EDISON'": 9,
  6.                ...}
  7.    
  8. [[u'CAMILLE', 10],
  9.  [u'SAHARA', 1],
  10.  [u'JEREMIAH',114],
  11.  [u'EDISON', 9],
  12.  ...]
  13.    
  14. firstnames = [lambda x,y:list(x,y) for k,v in firstnames.items()]
  15.    
  16. firstnames = [lambda x,y:[x,y] for k,v in firstnames.items()]
  17.    
  18. [<function __main__.<lambda>>,
  19.  <function __main__.<lambda>>,
  20.  <function __main__.<lambda>>,
  21.  <function __main__.<lambda>>,
  22.  ...]
RAW Paste Data
Top