def Sum(N):
S = 0
for I in range(1, N + 1):
S = S + I
return S
print(Sum(10))
def Sum(N):
S = 0
for I in range(1, N + 1):
S = S + I
return S
print(Sum(10))
1. Added missing colon : after function header — required syntax in Python.Draw a rough sketch for the curve $y = 2 + |x + 1|$. Using integration, find the area of the region bounded by the curve $y = 2 + |x + 1|$, $x = -4$, $x = 3$, and $y = 0$.