0 like 0 dislike
in Examples, Exercises and Projects by (7k points)

1 Answer

0 like 0 dislike
by (7k points)
 
Best answer

a=input()

b=a[::-1]

if a==b:

    print("Given number is Palindrome")

else:

    print("Given number is not Palindrome")

Register fast for winter training program at Goeduhub Technologies. We are providing winter training in AI-ML, IoT, Python, Hadoop and PLC-SCADA.

[[ CALL - 07976731765 ]]

...