from array import *
values=array('i',[2,3,4,-5,6])
for i in range(len(values)):
    print(values[i],end=" ")
print()


values.reverse()
for i in values:
    print(i,end=" ")
print()


newArr=array(values.typecode,(a**3 for a in values))
i=1
while i<len(newArr):
    print(newArr[i])
    i+=1


f554ad8ca54f2ea16a9c33ae88966252ada6d8d0
<mask token>

<mask token>
for i in range(len(values)):
    print(values[i], end=' ')
print()
values.reverse()
for i in values:
    print(i, end=' ')
print()
<mask token>
while i < len(newArr):
    print(newArr[i])
    i += 1

<mask token>
values = array('i', [2, 3, 4, -5, 6])
for i in range(len(values)):
    print(values[i], end=' ')
print()
values.reverse()
for i in values:
    print(i, end=' ')
print()
newArr = array(values.typecode, (a ** 3 for a in values))
i = 1
while i < len(newArr):
    print(newArr[i])
    i += 1

from array import *
values = array('i', [2, 3, 4, -5, 6])
for i in range(len(values)):
    print(values[i], end=' ')
print()
values.reverse()
for i in values:
    print(i, end=' ')
print()
newArr = array(values.typecode, (a ** 3 for a in values))
i = 1
while i < len(newArr):
    print(newArr[i])
    i += 1

from array import *
values=array('i',[2,3,4,-5,6])
for i in range(len(values)):
    print(values[i],end=" ")
print()


values.reverse()
for i in values:
    print(i,end=" ")
print()


newArr=array(values.typecode,(a**3 for a in values))
i=1
while i<len(newArr):
    print(newArr[i])
    i+=1

