WAP in Python to print the following series:
(i) 1 -4 7-10 ........-40
Answers
Answered by
3
sg=1
n=-40
for I in range(1,n+1,3):
print(i*sg)
sg=sg*(-1)
Answered by
0
Answer:
IDK
Explanation:
I- i
D- Don't
K-know
Hope it helps you
Similar questions