Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge | While Loops: Essentials
Python Loops
course content

Conteúdo do Curso

Python Loops

Python Loops

1. While Loops: Get Started
2. While Loops: Essentials
3. For Loops
4. Nested Loops

Challenge

Tarefa

Is this loop infinite or not? If yes, change the code to make it finite and get such a list: [11, 9, 7, 5, 3, 1].

If your code runs too long, probably, the infinite loop is executed. Copy your code (if needed) and refresh the page.

Tarefa

Is this loop infinite or not? If yes, change the code to make it finite and get such a list: [11, 9, 7, 5, 3, 1].

If your code runs too long, probably, the infinite loop is executed. Copy your code (if needed) and refresh the page.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 2
toggle bottom row

Challenge

Tarefa

Is this loop infinite or not? If yes, change the code to make it finite and get such a list: [11, 9, 7, 5, 3, 1].

If your code runs too long, probably, the infinite loop is executed. Copy your code (if needed) and refresh the page.

Tarefa

Is this loop infinite or not? If yes, change the code to make it finite and get such a list: [11, 9, 7, 5, 3, 1].

If your code runs too long, probably, the infinite loop is executed. Copy your code (if needed) and refresh the page.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 2
toggle bottom row

Challenge

Tarefa

Is this loop infinite or not? If yes, change the code to make it finite and get such a list: [11, 9, 7, 5, 3, 1].

If your code runs too long, probably, the infinite loop is executed. Copy your code (if needed) and refresh the page.

Tarefa

Is this loop infinite or not? If yes, change the code to make it finite and get such a list: [11, 9, 7, 5, 3, 1].

If your code runs too long, probably, the infinite loop is executed. Copy your code (if needed) and refresh the page.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Tarefa

Is this loop infinite or not? If yes, change the code to make it finite and get such a list: [11, 9, 7, 5, 3, 1].

If your code runs too long, probably, the infinite loop is executed. Copy your code (if needed) and refresh the page.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 2
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt