str_v = "1-3-2"# str[2] = "2" <- ErrorlStr = list(str_v)lStr[2] = "2"lStr[4] = "3"str_v = "".join(lStr)# str is "1-2-3"print(f"{str_v = }")