Source Code:
(back to article)
string = "Hello, World!" # remove the character at index 5 string = string[:5] + string[6:] print(string) # Output: "Hello World!"
Result:
Report an issue