User blog comment:Ribark/The CORN function/@comment-24923514-20190528222321

You probably have something like this, but I thought I'd put it anyway.

def corn(n): s=lambda x:str(x)[::-1] j=0 while str(n)!=s(n): n+=int(s(n)) j+=1 return j