Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skillsβperfect for learners of all ages.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
What will list(map(lambda x: x + 1, [1, 2, 3]))
return?
π‘ Hint: Think about how `map` applies the function to each element.
Question 2
Easy
What does filter(lambda x: x > 5, [1, 6, 3, 9])
produce?
π‘ Hint: Check which elements are greater than 5.
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
What does the map
function return in Python 3?
π‘ Hint: Remember how `map` works differently in Python 3 versus Python 2.
Question 2
What does the filter
function do?
π‘ Hint: Think about how filtering works in real-life terms.
Solve 2 more questions and get performance evaluation