Which of the following will be the output of the below code snippet? squares = [] for x in range(5): squares.append(lambda: x**2) x = 8 for i in range(5): print(squares[i]())
Correct Answer: 64 64 64 64 64
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions