Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ReverseArray.py
#python 3.5.2 #Linear Search from array import * arr=array('i',[1,2,3,4]) print("original",arr) i=0 j=len(arr)-1 while i<j: arr[i],arr[j]=arr[j],arr[i] i+=1 j-=1 print("reverse",arr)
run
|
edit
|
history
|
help
0
no count xo
HW L3
teretere
sum_of_digits.py
PyList
list_copy_shallow_deep.py
isStrong.py
inerse_matrix_gauss_jordan
Интересный Python - Вопрос 1
134