n文字目の文字を置換する
code:py
def n文字目の文字を置換する(string: str, n: int, new_char: str):
Pythonは文字を変更できない
code:py
---------------------------------------------------------------------------
TypeError: 'str' object does not support item assignment
list化する方法でもいいけど、スライス使うほうが好み