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
sen
😚😚😚
Sending email from python
Python: Functions I : Functions with messages.
Itertools-Cartesian-Product-var-args
sai exc 1
Short python input
Lesson 9
Atur cara mengira luas permukaan dan isipadu sebuah trapezium
1.py