How can I know which elements are in the list?

前端 未结 0 906
轻奢々
轻奢々 2020-12-15 07:44

I\'m a python beginner and would like to learn how to get the names of the elements in a list. For example, if I have

input = [1, 1, 1, 2.5, 2.5, \'a\', \'a\'         


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