Python - How to format most_common output?

前端 未结 0 751
挽巷
挽巷 2020-11-22 10:22

Now output is : [(1, 4), (2, 1)]

Is there a built-in way to show only common elements without the second number(quantity in the array)?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题