單項(xiàng)選擇題

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

A.str.replace(char,’’)
B.str.remove(char)
C.str.strip(char)
D.A和C都對(duì)

微信掃碼免費(fèi)搜題