阿摩線上測驗 登入

試題詳解

試卷:114年 - 程式語言與設計測驗卷:範圍:第五章#135198 | 科目:泉勝◆程式語言與設計

試卷資訊

試卷名稱:114年 - 程式語言與設計測驗卷:範圍:第五章#135198

年份:114年

科目:泉勝◆程式語言與設計

52. 寫出程式執行結果
a=82
b=15
s=0
fori in range(b):
       s=s+a
print(s%4)
(A)0
(B)1
(C)2
(D)3

正確答案:登入後查看