+ 2
Can anyone tell me how to arrange those numbers in last part in dict d in descending order of appearances ?
2 odpowiedzi
+ 5
Exchange line 35 with this:
for i, j in sorted(
d.items(),
key=lambda x: x[1],
reverse=True
):
+ 2
HonFu ty :-)