top of page

WAP to display all 2 digit numbers from N to M


WAP to display all even numbers from N to M

#Program By eboostup.com
#WAP to display all 2 digit numbers from N to M
n=int(input("Enter (N)starting no. : "))
n=10
m=int(input("Enter (M)ending no. : "))
if n==1:
    n=10
elif n==2:
    n=10
elif n==3:
    n=10
elif n==4:
    n=10
elif n==5:
    n=10
elif n==6:
    n=10
elif n==7:
    n=10
elif n==8:
    n=10
elif n==9:
    n=10
else:
    n=n
while n<=m :
    if m<100:
        print(n)
        n=n+1
    else:
        while n<=99 :
              print(n)
              n=n+1
#ankush
print("Powered By eboostup")


Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page