
def 		UpperCamelCase    (					_UpperCAmelCase     :      Optional[int]     )      -> str:






						'''simple docstring'''

						if not isinstance(SCREAMING_SNAKE_CASE__   , SCREAMING_SNAKE_CASE__     ):
												_lowercase					:  List[str]    			=      (
												    '''operation can not be conducted on a object of type '''
												    f"""{type(SCREAMING_SNAKE_CASE__     ).__name__}"""
												)
												raise TypeError(SCREAMING_SNAKE_CASE__     )
						_lowercase					:  List[Any]    			=      ''''''
						for _ in range(0   , 32     ):
												bit_string += str(number % 2     )
												_lowercase					:  List[Any]    			=      number >> 1
						return bit_string



def 		UpperCamelCase    (					_UpperCAmelCase     :      List[str]     )      -> str:






						'''simple docstring'''

						if number < 0:
												raise ValueError("the value of input must be positive"     )
						elif isinstance(SCREAMING_SNAKE_CASE__   , SCREAMING_SNAKE_CASE__     ):
												raise TypeError("Input value must be a \'int\' type"     )
						elif isinstance(SCREAMING_SNAKE_CASE__   , SCREAMING_SNAKE_CASE__     ):
												raise TypeError("\'<\' not supported between instances of \'str\' and \'int\'"     )
						_lowercase					:  Dict    			=      0
						# iterator over [1 to 32],since we are dealing with 32 bit integer
						for _ in range(1   , 33     ):
												# left shift the bits by unity
												_lowercase					:  Optional[Any]    			=      result << 1
												# get the end bit
												_lowercase					:  Dict    			=      number % 2
												# right shift the bits by unity
												_lowercase					:  int    			=      number >> 1
												# add that bit to our ans
												_lowercase					:  List[Any]    			=      result | end_bit
						return get_reverse_bit_string(SCREAMING_SNAKE_CASE__     )


if __name__ == "__main__":
							import doctest

							doctest.testmod()






def 		UpperCamelCase    (					_UpperCAmelCase     :      int     )      -> bool:






						'''simple docstring'''

						if not isinstance(_UpperCAmelCase   , _UpperCAmelCase     ):
												_lowercase					:  Optional[int]    			=      f"""Input value of [number={number}] must be an integer"""
												raise TypeError(_UpperCAmelCase     )
						if number < 0 or number % 2 == 1:
												return False
						_lowercase					:  List[str]    			=      int(number**0.5     )
						return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
							import doctest

							doctest.testmod()




