






'''simple docstring'''






def        _SCREAMING_SNAKE_CASE  (				A  :       Union[str, Any]  )    -> bool:







   """simple docstring"""
   return number & 1 == 0


if __name__ == "__main__":
     import doctest

     doctest.testmod()







'''simple docstring'''






def        _SCREAMING_SNAKE_CASE  (				A  :       float  ,		A  :       list[float]  )    -> float:







   """simple docstring"""
   if discount_rate < 0:
      raise ValueError('Discount rate cannot be negative'  )
   if not cash_flows:
      raise ValueError('Cash flows list cannot be empty'  )
   __snake_case				:      List[str]     							= sum(
       cash_flow / ((1 + discount_rate) ** i) for i, cash_flow in enumerate(A  )  )
   return round(A  ,		ndigits=2  )


if __name__ == "__main__":
      import doctest

      doctest.testmod()