Question PRG-PY-0051
MediumWhat is the output of this program?
from collections import Counter
c = Counter("mississippi")
print(c.most_common(2), c["z"])
- A.
[('i', 4), ('p', 2)] 0
- B.
[('s', 4), ('i', 4)] 0
- C.
Sign up free to see the answer and a step-by-step explanation.