Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sc_dict=[('n', {'rh': 1}), ('n', {'rhe': 1}), ('nc', {'rhex': 1})]
- dict_part = [sc[1] for sc in sc_dict]
- print(dict_part[1])
- L1=[year for (title, year) in (sorted(dict_part.items(), key=lambda t: t[0]))]
- print(L1)
Add Comment
Please, Sign In to add comment