freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-wit.../python-for-everybody/dictionaries-and-loops.md

535 B

id challengeType videoId
5e7b9f0a0b6c005b0e76f069 11 EEmekKiKG70

--description--

More resources:

- Exercise

--question--

--text--

What will the following code print?:

counts = { 'chuck' : 1 , 'annie' : 42, 'jan': 100}
for key in counts:
    if counts[key] > 10:
        print(key, counts[key])

--answers--

annie 42

jan 100


chuck 1

annie 42

jan 100


chuck 1


[Error]

--video-solution--

1

--hints--

--solutions--