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

Contenido del Curso

Python Loops

Python Loops

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

Challenge

Tarea

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.

Tarea

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.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 2
toggle bottom row

Challenge

Tarea

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.

Tarea

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.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 2
toggle bottom row

Challenge

Tarea

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.

Tarea

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.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Tarea

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.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 2. Capítulo 2
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt