單項(xiàng)選擇題

在Python中,如何檢查一個(gè)字符串是否以指定字符串開始?()

A.str.startswith()
B.str.beginswith()
C.str.starts()
D.str.begin()

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