MCQs > IT & Programming > Python > import itertools p = itertools.permutations([1, 2]) f = filter(lambda x: x[0] % 2 == 0, p) What is the value of f?

Python MCQs

import itertools p = itertools.permutations([1, 2]) f = filter(lambda x: x[0] % 2 == 0, p) What is the value of f?

Answer

Correct Answer: [(2, 1)]

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it