Support our Blind Hand Charity by donating at 9818291723. Your contribution has the potential to bring about significant positive change for humanity.

Search This Blog

MY PROGRAMMES

Sunday, April 9, 2023

SLICING THE EVEN DIGITS OF A NUMBER

n=int(input("Enter a five digit number = "))
while n!=0:
    d=n%10
    n=n//10
    if d%2==0:
        print(end="")
    else:
        print(d,end="")