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

604 B

id, title, challengeType, videoId, dashedName
id title challengeType videoId dashedName
5e7b9f0a0b6c005b0e76f069 字典和循環 11 EEmekKiKG70 dictionaries-and-loops

--description--

更多資源:

- 練習

--question--

--text--

以下代碼將打印什麼?

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