問題詳情

22. What does the following Python program fragment do?
  


(A) Calculate the sum of 1 + 2 + ... +10
(B) Calculate the sum of 1 + 4 + 7 + 10
(C) Calculate the sum of 3 +4 +5+6+ ... +9
(D) Calculate the sum of3 + 4 + 5 + 6 + +10
(E) Calculate the sum of 0 + 2 + 4+ 6+ ... +10 

參考答案

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