0
One of the following 10 statements generates an error. Which one? (Your answer should be a number between 1 and 10.)
x = [[7,8],3,"hello",[6,8],"world",17] # Line 1 z = [x[0],x[3]] # Line 2 y = x[0:50] # Line 3 w = x # Line 4 w[0][1] = 7 # Line 5 a = z[0][1] + z[1][1] # Line 6 x[0] = "ping" # Line 7 y[2] = y[2][1] + y[4][2] # Line 8 y[0][1] = 7 # Line 9 w[0][1] = 7 #line 10
3 Respuestas
+ 2
line 3
0
I think its line 10
- 1
Ty