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
Intermediate Python Coding Challenges
Write code and run it in real-time to get instant feedback on your progress.
☐
Add an arbitrary number of arguments together and return the sum
Intermediate
functions
☐
Count the frequency of each element in the given list
Intermediate
loops
lists
☐
Filter a dictionary to include only the key-value pairs where the value is an even number
Intermediate
comprehension
dictionaries
☐
Create a dictionary where the values are the squares of the original values
Intermediate
comprehension
dictionaries
☐
Validate an email addresses
Intermediate
regex
strings
☐
Calculate the exponential power of the given number
Intermediate
loops
math
☐
Calculate the factorial of the given number
Intermediate
loops
math
☐
Fix the error in Python code #13
Intermediate
errors
☐
Group elements by applying a function to each element
Intermediate
lists
☐
Interleave an arbitrary number of lists
Intermediate
lists
☐
Combine two lists by summing corresponding elements
Intermediate
comprehension
lists
☐
Find common elements between two lists
Intermediate
sets
lists
☐
Filter a list using the given function
Intermediate
lists
functional-programming
☐
Filter a list to include only the positive numbers
Intermediate
comprehension
lists
☐
Map a function to each element in a list
Intermediate
lists
functional-programming
☐
Reduce a list to a single value
Intermediate
lists
functional-programming
☐
Sort students by age
Intermediate
loops
lists
☐
Square the even numbers in a list
Intermediate
comprehension
lists
☐
Multiply each element in a list by its index
Intermediate
loops
enumerate
☐
Partition a sequence into sublists
Intermediate
lists
☐
Extract phone numbers from a string
Intermediate
regex
strings
☐
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
☐
Subtract all the arguments from the first argument to the function
Intermediate
functions
☐
Calculate the sum of squares of all elements in the given list
Intermediate
loops
functools
☐
Find unique elements in a given list
Intermediate
sets
lists
☐
Find unique elements in a given list
Intermediate
sets
strings
☐
Count the frequency of words in a file
Intermediate
files
strings
☐
Zip an arbitrary number of lists together
Intermediate
functions
☐
Create a dictionary from two lists
Intermediate
zip
dictionaries
☐
Apply a function to corresponding elements of multiple lists
Intermediate
lists
functional-programming
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