Python Programming - Arrays - Discussion
Discussion Forum : Arrays - General Questions (Q.No. 14)
14.
How do you initialize an array with five zeros using the
array
module?
Answer: Option
Explanation:
The correct way to initialize an array with five zeros using the
array
module is array.array('i', [0, 0, 0, 0, 0])
.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers