Question #349361

-write a program using for loop - show numbers from(1,150)increased by 3 only print odd numbers


Expert's answer

for n in range(1, 150, 3):
  if n % 2 == 0:
    print(n)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS