"""simple docstring"""
def 				lowerCAmelCase__      (     _UpperCamelCase    :			int   )   ->			bool:





						"""simple docstring"""






						if num < 0:
												return False

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

						return num_copy == rev_num


if __name__ == "__main__":
					import doctest

					doctest.testmod()



"""simple docstring"""
import cmath
import math





def 				lowerCAmelCase__      (     _UpperCamelCase    :			float	,     _UpperCamelCase    :			float	,     _UpperCamelCase    :			float	,     _UpperCamelCase    :			float   )   ->			complex:





						"""simple docstring"""






						snake_case        =     math.radians(_UpperCamelCase   )
						snake_case        =     math.radians(_UpperCamelCase   )

						# Convert voltage and current to rectangular form
						snake_case        =     cmath.rect(_UpperCamelCase	,     _UpperCamelCase   )
						snake_case        =     cmath.rect(_UpperCamelCase	,     _UpperCamelCase   )

						# Calculate apparent power
						return voltage_rect * current_rect


if __name__ == "__main__":
					import doctest

					doctest.testmod()


