Last active
May 22, 2020 00:32
-
-
Save slingam00/955073467fbc3adafee67bd5ae531860 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
myList = [1, 2, 3, 4, 5] | |
# List Indexing | |
print(myList[0]) # Result: 1 | |
print(myList[2]) # Result: 3 | |
print(myList[4]) # Result: 5 | |
print(myList[-1]) # Result: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment