Learn
Practice
Projects
Free datasets
Resources
Toolkit
Pricing
Log in
Start free
Loading…
Python: Control Flow (If, Else, Loops)
← All topics
Python: Control Flow (If, Else, Loops)
30 exercises
·
3 free
01
Check If Number Is Positive
Free
→
02
Even Or Odd Check
Free
→
03
Print Each Character In A String
Free
→
04
Sum All Elements In A List
Locked
→
05
While Loop From 1 To 5
Locked
→
06
Use Break In A Loop
Locked
→
07
Use Continue In A Loop
Locked
→
08
Nested Loops For A Pattern
Locked
→
09
Categorize Grade With If-Elif-Else
Locked
→
10
Print Even Numbers In A Range
Locked
→
11
Reverse A String With A For Loop
Locked
→
12
Check If A List Contains A Value
Locked
→
13
Print Numbers In Descending Order
Locked
→
14
Double Each Element In A List
Locked
→
15
For-Else Block Example
Locked
→
16
Prompt Until Correct Password
Locked
→
17
Sum Of Only Positive Numbers
Locked
→
18
Index Of First Occurrence
Locked
→
19
Convert String To Upper Until 'STOP'
Locked
→
20
Print Multiplication Table
Locked
→
21
Simple Login Attempts
Locked
→
22
Square Of Each Odd Number
Locked
→
23
Factorial Of A Number
Locked
→
24
Check Palindrome
Locked
→
25
Count Vowels In A String
Locked
→
26
Skip Multiples Of 3
Locked
→
27
Basic Menu Loop
Locked
→
28
Collect Even Indices
Locked
→
29
Multi-Branch Condition With If-Elif-Else
Locked
→
30
Flatten A 2D List With Nested Loops
Locked
→