如何在python中删除字符串中任意位置的字母? 例如,my String = 'xx22xx_1x_xxxx-xxxx',x可以是任何字母。 现在我要删除前两个位置的字母xx和第七个位置1,以便得到一个NewString = '22xx_x_xx ...2024-05-15 已阅读: n次