Created
August 27, 2016 23:01
-
-
Save FrankFonts/31ca50a28489b26d9084fcf9343dbded to your computer and use it in GitHub Desktop.
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
aList = [0, 1, 2, 3] | |
temp = [] | |
j = len(aList)-1 | |
for i in range(j, -1, -1): | |
temp.append(aList[i]) | |
aList = temp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment