Answer to Question #349361 in Python for Omar

Question #349361

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


1
Expert's answer
2022-06-09T18:21:30-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS