EasyOutput prediction
Counter missing key behavior
What does this code print?
from collections import Counter
c = Counter("hello")
print(c["h"])
print(c["z"])← → arrow keys to navigate
Sign in to save your progress.
What does this code print?
from collections import Counter
c = Counter("hello")
print(c["h"])
print(c["z"])← → arrow keys to navigate
Sign in to save your progress.