Computer Science, asked by Anonymous, 10 months ago

Answer the attachment :P​

Attachments:

Answers

Answered by Anonymous
42

\huge\mathbb{ANSWER}

n=int(input("enter the number"))

num=n

revnum=0

while(n>0):

⠀⠀⠀ rem= n%10

⠀⠀⠀ n= n//10

⠀⠀⠀ revnum= revnum*10+rem

print(" revnum is :",revnum)

if(revnum= = num):

⠀⠀⠀ print("pallindrom")

else:

⠀⠀⠀ print("not pallindrom")

Note: Screenshots of program is in attachment :P

\huge\bold\red{THANK YOU }

Attachments:
Answered by Anonymous
65

\huge\boxed{ \fcolorbox{blue}{yellow}{answer}}.

Attachments:
Similar questions