HINT:可以使用迴圈結構撰寫程式,迴圈變數起始值為輸入的加總起始值,迴 ... sum = 0 for i in range(a,b,c): sum=sum+i print('i為',i,'加總結果為' ...
確定! 回上一頁