How to count Consecutive Maximum Occurrence of a word in an item of a list in Python

前端 未结 0 818
鱼传尺愫
鱼传尺愫 2020-12-08 11:40

I\'m trying to implement a code that will count the longest run of a certain word in an item of a list

    for_example = [\'smaplakidfsmapsmapsmapuarebeautifu         


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