




'''simple docstring'''


from __future__ import annotations


def 						SCREAMING_SNAKE_CASE       (      a_	:							float				,					a_	:							float				,					a_	:							float			):
  if (voltage, current, resistance).count(0			) != 1:
    raise ValueError('One and only one argument must be 0'			)
  if resistance < 0:
    raise ValueError('Resistance cannot be negative'			)
  if voltage == 0:
    return {"voltage": float(current * resistance			)}
  elif current == 0:
    return {"current": voltage / resistance}
  elif resistance == 0:
    return {"resistance": voltage / current}
  else:
    raise ValueError('Exactly one argument must be 0'			)


if __name__ == "__main__":
  import doctest

  doctest.testmod()









'''simple docstring'''


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


def 						SCREAMING_SNAKE_CASE       (      ):
  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))



