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 lists
Write code online and to get instant feedback on your progress with automated tests
☐
Drop the first n elements from a sequence
Beginner
lists
☐
Exclude the first and last items in a list
Beginner
lists
☐
Double each number in a list
Beginner
loops
lists
☐
Order a list of strings in alphabetical order
Beginner
loops
lists
☐
Take the first n elements from a sequence
Beginner
lists
☐
Count the frequency of each element in the given list
Intermediate
loops
lists
☐
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 to include only the positive numbers
Intermediate
comprehension
lists
☐
Filter a list using the given function
Intermediate
lists
functional-programming
☐
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
☐
Partition a sequence into sublists
Intermediate
lists
☐
Find unique elements in a given list
Intermediate
sets
lists
☐
Apply a function to corresponding elements of multiple lists
Intermediate
lists
functional-programming
☐
Find common elements across multiple lists
Advanced
sets
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