解題報告 #30924: python 串列解 ... d = [ x for x in range(c[0],c[1]+1) if x % 2 == 0] #串列推導式 print(sum(d)) #利用sum()算出加總值.
確定! 回上一頁