daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sc_dict=[('n', {'rh': 1}), ('n', {'rhe': 1}), ('nc', {'rhex': 1})]
  2.    
  3. dict_part = [sc[1] for sc in sc_dict]
  4.  
  5. print(dict_part[1])
  6.  
  7. L1=[year for (title, year) in (sorted(dict_part.items(), key=lambda t: t[0]))]
  8. print(L1)
RAW Paste Data
Top