Created
May 22, 2020 01:23
-
-
Save slingam00/e2b789040a5b5e566c07685309e06505 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 = ['a', 'b', 'c', 'd', 'e'] | |
print(myList[1:3]) # Result: ['b', 'c'] | |
print(myList[0:4]) # Result: ['a', 'b', 'c', 'd'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment