MCQs > IT & Programming > Python > Read the following statements in which nested filters are used: shortline = lambda line: len(line) < 25 short_regvals = filter(shortline, (isRegDBVal, lines)) Which of the following errors is present in the above code?

Python MCQs

Read the following statements in which nested filters are used: shortline = lambda line: len(line) < 25 short_regvals = filter(shortline, (isRegDBVal, lines)) Which of the following errors is present in the above code?

Answer

Correct Answer: The filter function is missing for (isRegDBval, lines).

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