Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

counter method in python

from collections import Counter
my_str = "Welcome to Guru99 Tutorials!"
print(Counter(my_str))
Source by www.guru99.com #
 
PREVIOUS NEXT
Tagged: #counter #method #python
ADD COMMENT
Topic
Name
1+3 =