Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Working with the For Loop | Loops in Python
Introduction to Python (dev copy)

bookChallenge: Working with the For Loop

Task

Swipe to start coding

You've been provided with a list named people. Your task is to use a for loop to go through and print each item in the list.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 5. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Summarize this chapter

Explain the code in file

Explain why file doesn't solve the task

close

Awesome!

Completion rate improved to 1.64

bookChallenge: Working with the For Loop

Swipe to show menu

Task

Swipe to start coding

You've been provided with a list named people. Your task is to use a for loop to go through and print each item in the list.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 5. ChapterΒ 4
single

single

some-alt