A.ImportError
B.IndexError
C.TypeError
D.AttributeError
您可能感興趣的試卷
你可能感興趣的試題
print(120+hello)
執(zhí)行上述語(yǔ)句,則會(huì)出現(xiàn)()異常。
A.TypeError
B.IndexError
C.SyntaxError
D.AttributeError
print([1,2,3][3])
上面代碼則會(huì)產(chǎn)生()異常。
A.ValueError
B.IndexError
C.TypeError
D.AttributeError
print(int(’50a’))
則會(huì)產(chǎn)生()異常。
A.ValueError
B.IndexError
C.TypeError
D.AttributeError
執(zhí)行上述語(yǔ)句會(huì)產(chǎn)生什么錯(cuò)誤()。
A.NameError
B.SyntaxError
C.IOError
D.ImportError
則會(huì)產(chǎn)生()異常。
A.IndentationError
B.SyntaxError
C.TypeError
D.AttributeError
最新試題
在Python中,字符串是可變的。
在Python中,函數(shù)的參數(shù)必須是位置參數(shù)。
在Python中,列表是不可變序列。
在Python中,函數(shù)的參數(shù)可以有默認(rèn)值。
在Python中,以下哪些選項(xiàng)可以用于對(duì)列表lst =[3,1,4,1,5,9,2,6,5,3,5]進(jìn)行排序?()
面向?qū)ο缶幊讨校男┦穷惖膶傩??(?/p>
以下哪些是Python中的文件操作?()
在Python中,以下哪些語(yǔ)句可以用于生成整數(shù)序列?()
在Python中,以下哪一個(gè)選項(xiàng)是合法的實(shí)例方法定義?()
在面向?qū)ο缶幊讨校男┦穷惖谋Wo(hù)屬性?()