Question: What will be the output of the below python program: import array as arr x=arr.array(i,[2,4,6]) Z=x[1]+X[2] x.append(z) for i in range (3,4,1): print(x[i]) Answer:
What will be the output of the below python program: import array as arr x=arr.array("i",[2,4,6]) Z=x[1]+X[2] x.append(z) for i in range (3,4,1): print(x[i]) Answer:
Step by Step Solution
There are 3 Steps involved in it
Lets break down the code step by step 1 import array as arr This line imports th... View full answer
Get step-by-step solutions from verified subject matter experts
