logo

Crowdly

Browser

Add to Chrome

What does this code write (§1.4)? row = [0, 0, 0] grid = [row, row] grid[0][1]...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What does this code write (§1.4)?

row = [0, 0, 0]

grid = [row, row]

grid[0][1] = 5

other = []

for i in range(2):

other += [[0] * 3]

other[0][1] = 5

print(grid[1][1], other[1][1], len(grid), len(other[0]))

Wat skryf hierdie kode?

0%
0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on stemlearn.sun.ac.za?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome