7. 關於 Python 之資料結構字典(dictionary)與例外處理(exception), 執行附圖程式後,下列何者為輸出結果?

(A) KeyError: 'H'
(B) TypeError: list indices must be integers, not str
(C) SyntaxError: invalid syntax
(D) TypeError: unsupported operand type(s) for +: 'int' and 'str'

答案:登入後查看
統計: A(12), B(1), C(3), D(6), E(0) #3104617

詳解 (共 1 筆)

#7078390
1. 題目解析 題目要求我們分析一段 ...
(共 1126 字,隱藏中)
前往觀看
0
0