Q. What is the output of the following Python code?
Code:
import array
a = array.array('i', [1, 2, 3])
print(a[0])
β
Correct Answer: (B)
1
import array
a = array.array('i', [1, 2, 3])
print(a[0])
You must be Logged in to update hint/solution