Last active
March 3, 2017 13:00
-
-
Save mzaini30/5a471514fd89ec6e7f6c2ecc5bae785a to your computer and use it in GitHub Desktop.
Simple reverse list in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = range(11) | |
data = data[::-1] | |
for x in data: | |
print x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment