d = 0 t = list(str(n)) while d <= len(t)//2 : if t[d] != t[-(d+1)]: return False d = d+1 return True
Sign in to make a reply
90qn