


'''simple docstring'''
def 					lowerCamelCase_ ( __UpperCamelCase					:       int		)					->	bool:







     """simple docstring"""
     if not isinstance(__UpperCamelCase							,    __UpperCamelCase		):
          _A				=							F'Input value of [number={number}] must be an integer'
          raise TypeError(__UpperCamelCase		)
     if number < 0:
          return False
     _A				=							number * number
     while number > 0:
          if number % 1_0 != number_square % 1_0:
               return False
          number //= 1_0
          number_square //= 1_0
     return True


if __name__ == "__main__":
    import doctest

    doctest.testmod()









'''simple docstring'''
def 					lowerCamelCase_ ( __UpperCamelCase					:       int		)					->	bool:







     """simple docstring"""
     if num < 0:
          return False

     _A				=							num
     _A				=							0
     while num > 0:
          _A				=							rev_num * 1_0 + (num % 1_0)
          num //= 1_0

     return num_copy == rev_num


if __name__ == "__main__":
    import doctest

    doctest.testmod()





