Computer Science, asked by Vedant2807, 11 months ago

WAP in Python to print the following series:
(i) 1 -4 7-10 ........-40​

Answers

Answered by arnavsaini98
3

sg=1

n=-40

for I in range(1,n+1,3):

print(i*sg)

sg=sg*(-1)

Answered by mussvm10
0

Answer:

IDK

Explanation:

I- i

D- Don't

K-know

Hope it helps you

Similar questions