第一種是for迴圈 def sumStartToEnd(start,end): sum = 0 for n in range(start,end+1,1): sum = sum + n return sum #if __name__ == '__main__' ...
確定! 回上一頁