Computer Science, asked by has60, 4 months ago

write a python program to find the value of S where s =1+5+9+13...n​

Answers

Answered by allysia
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 ancymol20p6
0

Answer:

28 ans okk ☺☺☺okk bye

Similar questions