Answers for "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"

0

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
Posted by: Guest on May-02-2022

Python Answers by Framework

Browse Popular Code Answers by Language