How should I got about rewriting this lambda to fit Python3 standards?
top10_popular = [k for (k, (v1, v2)) in sorted(site_freq_150users.items(),
key=lambda (k, (v1, v2)): v2, reverse=True)[:10]
I've read that this has to do with the removal of tuple unpacking in Python3, but now I'm sure how to rewrite this correctly.
Thanks in advance.