Strings are immutable, you can’t change an existing string.

PHOTO EMBED

Thu Sep 22 2022 01:38:40 GMT+0000 (Coordinated Universal Time)

Saved by @L0uJ1rky45M #python

# The best you can do is create a new string that is a variation on the original
greeting = 'Hello, world!'
new_greeting = 'J' + greeting[1:]
print(new_greeting)

#output
Jello, world!
content_copyCOPY

https://www.py4e.com/html3/06-strings