Open main menu
python-fiddle.com
Examples
Tools
Learning
AI Data Analyst
Sign In
Examples
Tools
Learning
AI Data Analyst
Chrome Extension
Sign In
0 out of 68 challenges solved
Python coding challenges on loops
Write code online and to get instant feedback on your progress with automated tests
☐
Count the number of odd numbers in a given list
Beginner
loops
☐
Count the number of vowels in a given string
Beginner
loops
☐
Find numbers that are divisible by 3 but not a multiple of 7
Beginner
loops
☐
Double each number in a list
Beginner
loops
lists
☐
Order a list of strings in alphabetical order
Beginner
loops
lists
☐
Reverse characters in a string
Beginner
loops
strings
☐
Count the frequency of each element in the given list
Intermediate
loops
lists
☐
Calculate the exponential power of the given number
Intermediate
loops
math
☐
Calculate the factorial of the given number
Intermediate
loops
math
☐
Sort students by age
Intermediate
loops
lists
☐
Multiply each element in a list by its index
Intermediate
loops
enumerate
☐
Calculate the product of all elements in the given list
Intermediate
loops
functools
☐
Calculate the square root of each element in the given list
Intermediate
loops
math
☐
Calculate the sum of squares of all elements in the given list
Intermediate
loops
functools
Looking for more?
Newbie
Beginner
Intermediate
Advanced
errors
loops
lists
conditionals
dictionaries
strings
functions
comprehension
regex
math
sets
functional-programming
enumerate
functools
files
zip
CSV
recursion
matrices