Files
freeCodeCamp/curriculum/challenges/arabic/07-scientific-computing-with-python/python-for-everybody/dictionaries-and-loops.md
2022-10-20 09:13:17 -07:00

739 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f0a0b6c005b0e76f069 Dictionaries and Loops 11 EEmekKiKG70
aid bvid cid
589401038 BV1eq4y1X7xU 376387132
dictionaries-and-loops

--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