Created
May 5, 2020 19:36
-
-
Save raeq/062b438b0582eddbc785a6a3b398f8c5 to your computer and use it in GitHub Desktop.
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
mytext:str = "Hello, World!" | |
characters:list = list(mytext) | |
print(len(characters)) | |
print(characters[7]) | |
characters.insert(6, "-") | |
characters.append("!!") | |
print(characters) | |
mytext = "".join(characters) | |
print(mytext) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment