



"""simple docstring"""
def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      Optional[int]:
	if a < 0 or b < 0:
		raise ValueError("the value of both inputs must be positive"	)

	a_     :      List[str] 						=     str(bin(lowerCamelCase_	)	)[2:]  # remove the leading "0b"
	a_     :      int 						=     str(bin(lowerCamelCase_	)	)[2:]  # remove the leading "0b"

	a_     :      Optional[int] 						=     max(len(lowerCamelCase_	), len(lowerCamelCase_	)	)

	return "0b" + "".join(
	    str(int(char_a == "1" and char_b == "1"	)	)
	    for char_a, char_b in zip(a_binary.zfill(lowerCamelCase_	), b_binary.zfill(lowerCamelCase_	)	)	)


if __name__ == "__main__":
					import doctest

					doctest.testmod()




"""simple docstring"""
def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      float:
		_validate_point(SCREAMING_SNAKE_CASE__	)
		_validate_point(SCREAMING_SNAKE_CASE__	)
		if len(SCREAMING_SNAKE_CASE__	) != len(SCREAMING_SNAKE_CASE__	):
				raise ValueError("Both points must be in the same n-dimensional space"	)

		return float(sum(abs(a - b	) for a, b in zip(SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)	)	)



def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__	)			->      None:
		if point:
				if isinstance(SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	):
						for item in point:
								if not isinstance(SCREAMING_SNAKE_CASE__, (int, float)	):
										a_     :      int 						=     (
										    "Expected a list of numbers as input, found "
										    F"""{type(SCREAMING_SNAKE_CASE__	).__name__}"""
										)
										raise TypeError(SCREAMING_SNAKE_CASE__	)
				else:
						a_     :      Dict 						=     F"""Expected a list of numbers as input, found {type(SCREAMING_SNAKE_CASE__	).__name__}"""
						raise TypeError(SCREAMING_SNAKE_CASE__	)
		else:
				raise ValueError("Missing an input"	)



def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      float:
		_validate_point(SCREAMING_SNAKE_CASE__	)
		_validate_point(SCREAMING_SNAKE_CASE__	)
		if len(SCREAMING_SNAKE_CASE__	) != len(SCREAMING_SNAKE_CASE__	):
				raise ValueError("Both points must be in the same n-dimensional space"	)

		return float(sum(abs(x - y	) for x, y in zip(SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)	)	)


if __name__ == "__main__":
					import doctest

					doctest.testmod()