def is_palindrome(n): str_n = str(n) d = '' for c in str_n: d = c + d return str_n == d
Sign in to make a reply
SE7ENEVIL