






'''simple docstring'''



import cmath
import math


def 				lowercase_					(     __A			:							float       ,   __A			:							float       ,   __A			:							float       ,   __A			:							float      )							->   complex:



 """simple docstring"""




 lowercase       : Any						=math.radians(__A      )
 lowercase       : Union[str, Any]						=math.radians(__A      )

 # Convert voltage and current to rectangular form
 lowercase       : Tuple						=cmath.rect(__A       ,   __A      )
 lowercase       : List[str]						=cmath.rect(__A       ,   __A      )

 # Calculate apparent power
 return voltage_rect * current_rect


if __name__ == "__main__":
      import doctest

      doctest.testmod()







from __future__ import annotations



def 							UpperCamelCase_( lowerCamelCase_					)       ->		float:
    if not nums:
        raise ValueError('List is empty'					)
    return sum(lowerCamelCase_					) / len(lowerCamelCase_					)


if __name__ == "__main__":
 import doctest

 doctest.testmod()


