Quiz · Lists · lesson 7 of 11
Quiz — [[0] * 2] * 2
What does the program print?
grid = [[0] * 2] * 2
grid[0][0] = 5
print(grid)Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.
What does the program print?
grid = [[0] * 2] * 2
grid[0][0] = 5
print(grid)The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.