Skip to content

Instantly share code, notes, and snippets.

@mzaini30
Last active March 3, 2017 13:00
Show Gist options
  • Save mzaini30/5a471514fd89ec6e7f6c2ecc5bae785a to your computer and use it in GitHub Desktop.
Save mzaini30/5a471514fd89ec6e7f6c2ecc5bae785a to your computer and use it in GitHub Desktop.
Simple reverse list in python
/data/data/org.qpython.qpy/files/bin/qpython.sh "/storage/emulated/0/qpython/scripts/.last_tmp.py" && exit
d/0/qpython/scripts/.last_tmp.py" && exit <
10
9
8
7
6
5
4
3
2
1
0
#[QPython] Press enter to exit
data = range(11)
data = data[::-1]
print
for x in data:
print x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment