order = int(input('入力:')) sum = 0 for i in range(1, order + 1) : sum = sum + i print (sum)