Guest User

Untitled

a guest
Apr 16th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  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)
Add Comment
Please, Sign In to add comment