0
Why is the answer to this Python Challenge Error?
A = [1 , 2] B = [3 , 4] C = A.extend(B) print(C[3])
2 Antworten
+ 2
You added [3,4] to A so A is extended. Therefore Print A[ ]
A = [1 , 2]
B = [3 , 4]
C = A.extend(B)
print(A[3])
#And try A[0], A[1], A[2]
0
Try to run below for extend help. You will get the answer.
print(help([].extend))