JobPrax
Python While loops โ practice questions ยท JobPrax
JobPrax
Practice
Live projects
Guided projects
For colleges
Pricing
Log in
Start free
All Python topics
Python
While loops
Loop until a condition changes.
Your progress
0
/ 40
Start the first question
All levels
Basic (26)
Intermediate (7)
Advanced (7)
All
To do
Solved
1
Countdown
Basic
2
Count digits
Basic
3
Reverse a number
Basic
4
Doubling savings
Basic
5
Sum until negative
Basic
6
Power of two
Basic
7
Count up
Basic
8
Sum 1 to n
Basic
9
Halve until one
Basic
10
First multiple above
Basic
11
Months to a goal
Basic
12
Multiply the digits
Basic
13
Count down by steps
Basic
14
First big number
Basic
15
How many times divisible?
Basic
16
Largest digit
Basic
17
Count even digits
Basic
18
Power of three?
Basic
19
Sum with an index
Basic
20
Stretch a word
Basic
21
Factorial with while
Basic
22
Count a letter with an index
Basic
23
Phone battery
Basic
24
Triangle numbers
Basic
25
First digit
Basic
26
Fibonacci up to a limit
Basic
27
GCD with Euclid
Interview
Intermediate
28
Collatz steps
Intermediate
29
Binary representation
Intermediate
30
Happy number
Interview
Intermediate
31
Binary search
Interview
Intermediate
32
Integer square root
Intermediate
33
Withdraw until empty
Intermediate
34
Armstrong numbers
Advanced
35
Two pointers: reverse in place
Advanced
36
Container with most water
Interview
Advanced
37
Digital root
Advanced
38
Simulate a queue
Advanced
39
Next palindrome number
Advanced
40
Validate brackets
Interview
Advanced