python program to print these series:
(i). 1 4 7 10................40
ii). 1 -4 7 -10................-40
Answers
Answered by
1
Answer:
kuch samajh me nahi aa raha hai thik se pucho
Answered by
4
Answer:
(i) for i in range(1,41,3):
print(i,end=" ")
(ii) for i in range(1,41,3):
if(i % 2 == 1):
print(i,end=" ")
else:
print(-i,end=" ")
Explanation:
100% run korega....................
Similar questions