0 like 0 dislike
19 views

1 Answer

1 like 0 dislike
by Goeduhub's Expert (7.8k points)
 
Best answer

a=input()

b=a[::-1]

if a==b:

    print("Given number is Palindrome")

else:

    print("Given number is not Palindrome")

...