Calculate the count of integers in a list without using any inbuilt library in python

前端 未结 0 714
陌清茗
陌清茗 2020-11-27 17:23

I have a list of integers like

values = [1,2,3,3,4,5,5,4,1,2,2,3,1,5,5,5]

The expected output should be

counted_values = {1:3,         


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