Skip to content

Commit 550957b

Browse files
Merge pull request #14 from Chandusomineni/patch-2
Create Counter.py
2 parents 6d7cbf9 + 1661587 commit 550957b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Counter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from collections import Counter
2+
print(Counter(['B','B','A','B','C','A','B','B','A','C']))
3+
print(Counter({'A':3, 'B':5, 'C':2}))
4+
print(Counter(A=3, B=5, C=2))

0 commit comments

Comments
 (0)