s
sprkd
.io
🗡️ Gauntlet
Courses
Roles
Certs
Coach
Pricing
Sign in
🐍
Python
1 / 12
Idioms & Gotchas
Advanced
What does this print?
grid = [[0] * 2] * 2 grid[0][0] = 9 print(grid)
A
[[9, 9], [9, 9]]
B
[[9, 0], [9, 0]]
C
[[9, 0], [0, 0]]
D
[[0, 0], [0, 0]]
← Back
Next →