¶
~cpp def reverse(n, count): if(count ==1000): print " ?" if(str(n) != str(n)[::-1]): reverse(n+int(str(n)[::-1]), count+1) else: print n
~cpp reverse(195,0)
~cpp def reverse(n, count): if(count ==1000): print " ?" if(str(n) != str(n)[::-1]): reverse(n+int(str(n)[::-1]), count+1) else: print n
~cpp reverse(195,0)