問題詳情

20. Which following is the correct way to create a dictionary in Python?
(A) students ={'name'=>' alice' ; score' =>60}
(B) students = {'name'='alice' ; 'score'=60}
(C) students = {' name' : 'alice' ; 'score' : 60 }
(D) students = {' name'=>'alice' , score'=>60 }
(E) students = {'name' : 'alice' score' : 60 }

參考答案

答案:E
難度:計算中-1
書單:沒有書單,新增