Reverse and Add: find a palindrome
Only 2 things:


Why do you have this? This makes your code a bit unclear and confusing. Remove this if you do not want to use it as it might make your actual code look messy.

# def reverse_num(num):
#   rev = 0
#   while(num &gt; 0):
#     rev = (10*rev)+num%10
#     num //= 10
#   return rev

It is discouraged to use for i in range(100): in Python.