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

It's just some Python code to calculate how many steps it takes before a starting number is a palindrome. You could modify it a bit to print the intermediate steps if you wanted.