Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does while True: do? | StemPy Lab
Quizzes
/
What does while True: do?
Python Programming
Easy
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Loops
Created by
StemPy Lab
What does while True: do?
It repeats for ever, unless a break leaves the loop
It never starts
It runs once
It is an error
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student writes x = 0 and while x < 3: print(x) and expects it to stop after 0, 1, 2. What is the mistake?
n = 4729. A loop does n = n // 10 while n > 0, and counts the rounds. How many rounds? →
More on
Python Basics › Loops
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
This loop should show the even numbers from 2 up to and including 10.
Medium
Write a program that asks for a password, again and again, until the user types python123.
Medium
Find the first number from 100 upwards that can be divided by both 6 and 8.
Easy
Asha saves 45 rupees every week, and has 0 at the start.
Easy
All problems on this topic →