





def 	a_    (							_lowercase	,						_lowercase       ):
						return int((input_a, input_a).count(0       ) != 0       )





def 	a_    (							):
						assert nand_gate(0	,						0       ) == 1
						assert nand_gate(0	,						1       ) == 1
						assert nand_gate(1	,						0       ) == 1
						assert nand_gate(1	,						1       ) == 0


if __name__ == "__main__":
						print(nand_gate(0, 0))
						print(nand_gate(0, 1))
						print(nand_gate(1, 0))
						print(nand_gate(1, 1))










"""simple docstring"""




def 	a_    (							_lowercase	,						_lowercase       ):
						if discount_rate < 0:
												raise ValueError('''Discount rate cannot be negative'''       )
						if not cash_flows:
												raise ValueError('''Cash flows list cannot be empty'''       )
						_UpperCamelCase      : Optional[int]         =   sum(
						    cash_flow / ((1 + discount_rate) ** i) for i, cash_flow in enumerate(_lowercase       )       )
						return round(_lowercase	,						ndigits=2       )


if __name__ == "__main__":
						import doctest

						doctest.testmod()



