試卷名稱:109年 - 109 初級巨量資料分析師能力鑑定試題_科目1:資料導向程式設計#114325
年份:109年
科目: iPAS◆資料導向程式設計◆初級
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'