問題詳情

17. Python 另有一些異於一般資料結構課程所介紹的資料結構類別,包含了 tuple 和 dictionary。依照圖四中的程式,以下選項何者錯誤?
(A) cipherer('ace') = 6
(B) a_dict['b'] = 2
(C) cipherer('bad') = 4
(D) a_dict['e'] = 4

參考答案

答案:B

統計:A:1,B:1,C:1,D:0,E:0

難度:計算中