Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge 1 | While Loops: Get Started
Python Loops

Swipe to show menu

book
Challenge 1

Summary

  • Instructions are executing until stop condition is False.

  • Counter in the stop condition is changing inside the loop. It can be decremented or incremented by some number.

Task

Swipe to start coding

Understanding the stop condition is important. Change the given code to get such an output:

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Β 1. ChapterΒ 2
single

single

Ask AI

expand

Ask AI

ChatGPT

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

close

Awesome!

Completion rate improved to 6.25

book
Challenge 1

Summary

  • Instructions are executing until stop condition is False.

  • Counter in the stop condition is changing inside the loop. It can be decremented or incremented by some number.

Task

Swipe to start coding

Understanding the stop condition is important. Change the given code to get such an output:

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!

close

Awesome!

Completion rate improved to 6.25

Swipe to show menu

some-alt