MCQs > IT & Programming > Python > Given a list: lst = ['alpha', 'beta', '', 'gamma']. What will be returned by the function: filter(None, lst)?

Python MCQs

Given a list: lst = ['alpha', 'beta', '', 'gamma']. What will be returned by the function: filter(None, lst)?

Answer

Correct Answer: ['alpha', 'beta', 'gamma']

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