Created
February 25, 2009 18:21
-
-
Save drewconway/70329 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
counts = dict((k, F.count(k)) for k in set(F)) | |
counts_items=counts.items() | |
counts_items=[(b,a) for (a,b) in counts_items] | |
counts_items.sort() | |
counts_items.reverse() | |
for i in counts_items: | |
print str(i[0])+' of your friends are already following '+i[1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment