how to enumerate-label the elements of a list in python?

前端 未结 0 1516
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-14 23:17

someone can help me how to enumerate the elements of a list to label the counting the occurrences of the elements, i.e.,

list_in = [\'a\',\'b\',\'c\']
list_ou         


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