def palindrome(num):
  digits = ''
  original = num
  while (num):
    digits+= str(num % 10)
    num = num // 10
  if int(digits) == original:
    print("yeaa")

palindrome(1001)
palindrome(111109)

8413fc68e4056f5c152b58c686e4427c8f0bbbc9
<mask token>

def palindrome(num):
    digits = ''
    original = num
    while num:
        digits += str(num % 10)
        num = num // 10
    if int(digits) == original:
        print('yeaa')


<mask token>

def palindrome(num):
    digits = ''
    original = num
    while num:
        digits += str(num % 10)
        num = num // 10
    if int(digits) == original:
        print('yeaa')


palindrome(1001)
palindrome(111109)

def palindrome(num):
  digits = ''
  original = num
  while (num):
    digits+= str(num % 10)
    num = num // 10
  if int(digits) == original:
    print("yeaa")

palindrome(1001)
palindrome(111109)
