單項(xiàng)選擇題

print([1,2,3][3])
上面代碼則會(huì)產(chǎn)生()異常。

A.ValueError
B.IndexError
C.TypeError
D.AttributeError

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