Files
freeCodeCamp/curriculum/challenges/korean/23-python-for-everybody/python-for-everybody/the-tuples-collection.md
camperbot 7a0d396180 chore(i18n,learn): processed translations (#53415)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-02-13 18:31:01 +01:00

574 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f0a0b6c005b0e76f06c 튜플 컬렉션 11 3Lxpladfh2k
aid bvid cid
334468209 BV1aw411R77G 376533308
the-tuples-collection

--question--

--text--

What will the following code print?:

d = dict()
d['quincy'] = 1
d['beau'] = 5
d['kris'] = 9
for (k,i) in d.items():
    print(k, i)

--answers--

k i
k i
k i

quincy 0
beau 1
kris 2

quincy 1
beau 5
kris 9

1 quincy
5 beau
9 kris

--video-solution--

3