方法一:使用pop()方法删除特定位置的字符 string1 = '不要汉堡' # 定义一个字符串list_str = list(string1) # 将字符串转换为列表list_str.pop(1) ...
確定! 回上一頁