Use the string slicing syntax string[:index] + string[index + 1:] to remove a single occurrence of a character at index in the string. a_string = "abc".
確定! 回上一頁