Categorise the number of values in a list

前端 未结 0 1757
孤独总比滥情好
孤独总比滥情好 2021-02-01 09:19

I have the list [5,15,25,27,30,39,45,50,55]

How do I code the categorisation of the values in a list, where the categories are groups of roughly 10 ? such that I get the

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