JobPrax
Python For loops โ practice questions ยท JobPrax
JobPrax
Practice
Live projects
Guided projects
For colleges
Pricing
Log in
Start free
All Python topics
Python
For loops
Iterate, accumulate, enumerate and zip.
Your progress
0
/ 40
Start the first question
All levels
Basic (27)
Intermediate (7)
Advanced (6)
All
To do
Solved
1
Sum to n
Basic
2
Even numbers
Basic
3
Multiplication table
Basic
4
Factorial
Basic
5
Count positives
Basic
6
Enumerate with positions
Basic
7
Zip two lists
Basic
8
Sum of odd numbers
Basic
9
Count down list
Basic
10
Squares up to n
Basic
11
Star staircase
Basic
12
Total letters
Basic
13
Longest name
Basic
14
First k multiples
Basic
15
Largest without max
Basic
16
Average with a loop
Basic
17
Evens in a range
Basic
18
All positions of a value
Basic
19
Long words
Basic
20
Reverse with a loop
Basic
21
Powers of two
Basic
22
Add two lists
Basic
23
Count the negatives
Basic
24
Bill with GST
Basic
25
Sum of squares
Basic
26
First negative
Basic
27
Names starting with a letter
Basic
28
FizzBuzz
Interview
Intermediate
29
Prime check
Interview
Intermediate
30
Nested loop pattern
Intermediate
31
Digit sum
Intermediate
32
Running maximum
Intermediate
33
Pairs of a list
Intermediate
34
Break on first match
Intermediate
35
Pascal's triangle
Interview
Advanced
36
Simple interest schedule
Advanced
37
Spiral order
Interview
Advanced
38
Compress runs
Interview
Advanced
39
Perfect numbers
Advanced
40
Leaders in a list
Advanced