Commit 439d29d8 authored by nishanth's avatar nishanth

nishanth

parent 84f1be3b
Pipeline #10354 passed with stage
in 14 seconds
num=input("enter any number")
rev_num=reversed(num)
if list(num)==list(rev_num):
print("palindrome")
else:
print("not a palindrome")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment