Count the occurrence of a specific character in all elements of a list of strings

前端 未结 0 375
北荒
北荒 2020-12-24 04:25

I have a list:

my_list = [\'coffee\', \'sunshine\', \'hiking\', \'stocks\', \'mountains\', \'space\', \'Travel\']

I would like to count the o

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