

'''simple docstring'''







import cmath
import math
def       UpperCAmelCase__    (      UpperCAmelCase__,       UpperCAmelCase__,       UpperCAmelCase__,       UpperCAmelCase__				)			->			complex:
       A_						=      math.radians(UpperCAmelCase__				)
       A_						=      math.radians(UpperCAmelCase__				)

       # Convert voltage and current to rectangular form
       A_						=      cmath.rect(UpperCAmelCase__,       UpperCAmelCase__				)
       A_						=      cmath.rect(UpperCAmelCase__,       UpperCAmelCase__				)

       # Calculate apparent power
       return voltage_rect * current_rect


if __name__ == "__main__":
      import doctest

      doctest.testmod()



'''simple docstring'''







def       UpperCAmelCase__    (      UpperCAmelCase__				)			->			int:
       assert (
           isinstance(UpperCAmelCase__,       UpperCAmelCase__				) and number_of_steps > 0
       ), F'''number_of_steps needs to be positive integer, your input {number_of_steps}'''
       if number_of_steps == 1:
              return 1
       A_					,			A_						=      1, 1
       for _ in range(number_of_steps - 1				):
              A_					,			A_						=      current + previous, current
       return current


if __name__ == "__main__":
      import doctest

      doctest.testmod()
