How to remove quotes and the brackets within a tuple in python to format the data

后端 未结 2 1692
时光取名叫无心
时光取名叫无心 2021-01-29 15:23

I am trying to print only the maximum occurring character and its count.

import collections

s = raw_input()
k = (collections.Counter(s).most_common(1)[0])
         


        
2条回答
提交回复
热议问题