單項選擇題

在Python中,如何從一個字符串中刪除特定字符?()

A.str.replace(char,’’)
B.str.remove(char)
C.str.delete(char)
D.del str[char]

微信掃碼免費搜題