Python Learning Note
Practice Note
Read input
Read a list of input
Ref: https://stackoverflow.com/questions/15963959/reading-a-line-of-integers-in-python
in python3:
1 | numbers = list(map(int, input().split())) |
Counter
collections.Counter()
1 | from collections import Counter |