N = input('100までの整数を入れて下さい> ') N = int(N) goukei = 0 for i in range(N+1): goukei = goukei + i print(goukei)