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 

答案:登入後查看
統計: A(0), B(0), C(5), D(2), E(0) #3081352

詳解 (共 1 筆)

#7092104
題目解析 此題要求我們分析一段Pyth...
(共 999 字,隱藏中)
前往觀看
0
0