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
統計: A(0), B(0), C(5), D(2), E(0) #3081352