MCQs > IT & Programming > Python > Correct answer from the given options. double = lambda x: x * 2 mt = [1, 5, 4, 6, 8, 11, 3, 12] ns = list(filter(lambda x: (x%2 == 0) , mt)) print(double(6)) print(ns)

Python MCQs

Find the output of the following Python code and choose the correct answer from the given options.

double = lambda x: x * 2

mt = [1, 5, 4, 6, 8, 11, 3, 12]

ns = list(filter(lambda x: (x%2 == 0) , mt))

print(double(6))

print(ns)


Answer

Correct Answer:

12

[4, 6, 8, 12] 


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