Files
freeCodeCamp/curriculum/challenges/portuguese/08-data-analysis-with-python/data-analysis-with-python-course/python-iteration-and-modules.md

1.0 KiB

id, title, challengeType, videoId, dashedName
id title challengeType videoId dashedName
5e9a093a74c4063ca6f7c167 Realizar a iteração em Python e módulos 11 XzosGWLafrY python-iteration-and-modules

--description--

Ao invés de usar notebooks.ai como foi mostrado no vídeo, você pode usar o Google Colab como substituto.

Mais recursos:

--question--

--text--

Como você iteraria e imprimiria as chaves e valores de um dicionário chamado user?

--answers--

for key in user.items():
    print(key)

for key, value in user.all():
    print(key, value)
    print(value)

for key, value in user.items():
    print(key, value)

for key, value in user
    print(key, value)

--video-solution--

3