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 comprehension
Write code online and to get instant feedback on your progress with automated tests
☐
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
☐
Combine two lists by summing corresponding elements
Intermediate
comprehension
lists
☐
Filter a list to include only the positive numbers
Intermediate
comprehension
lists
☐
Square the even numbers in a list
Intermediate
comprehension
lists
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