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

Зміст курсу

Python Loops

Python Loops

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

Challenge

Завдання

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 2
toggle bottom row

Challenge

Завдання

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 2
toggle bottom row

Challenge

Завдання

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 2
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt