import array as arr a = arr.array('i', [1, 2, 3, 4, 5]) print('all values') temp = 0 while temp < a[2]: print([temp]) temp = temp + 1
import array as arr
a = arr.array('i', [1, 2, 3, 4, 5])
print('all values')
temp = 0
while temp < a[2]:
print([temp])
temp = temp + 1 # can anyone explain what & why this this line needed