Created
August 31, 2020 11:44
-
-
Save raeq/e3ea5e6e03a394e11c54b1e9c5dec17a to your computer and use it in GitHub Desktop.
A slice
This file contains hidden or 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
hello: str = 'Hello World!' | |
print(hello[3:8]) | |
assert hello[3:8] == 'lo Wo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment