PYTHON

Write a Python program to print all even numbers between 1 to 100. – using while loop in reverse order.

n = int(input("Enter the number :- ")) while n<100: if n % 2==0: print("The number is Even....",n) n=n+1

OR

OUTPUT…..

Leave a Reply

Your email address will not be published. Required fields are marked *

sign up!

We’ll send you the hottest deals straight to your inbox so you’re always in on the best-kept software secrets.