MCQs > IT & Programming > Python > What would be printed? x = [[1, 2], [3, 4], [5, 6]] x = [x for x in x for x in x] print x

Python MCQs

What would be printed? x = [[1, 2], [3, 4], [5, 6]] x = [x for x in x for x in x] print x

Answer

Correct Answer: [1, 2, 3, 4, 5, 6]

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