Computer Science, asked by burhanuddin777dahodw, 1 year ago

Write a python program to print the following series 1,4,7,10,.......40

Answers

Answered by Manindersingh11
2
for i in range(1,41,3):
print(i)
Answered by ManjunathAkanksh
2

Answer:

number=1

print(number)

while number<=40:

          number=number+3

          print(number)

Similar questions