write a python program to find the value of S where s =1+5+9+13...n
Answers
Answered by
0
Answer:
Here you go:
_________________________________________
n=int(input("Enter the last limit: "))
sum=0
for i in range(1,n+1,4):
sum+=i
print("The sum will be", sum)
__________________________________________
Answered by
0
Answer:
28 ans okk ☺☺☺okk bye
Similar questions