

'''simple docstring'''

def 				A_					(	snake_case	):
  SCREAMING_SNAKE_CASE:Dict   =   str(snake_case	).strip()
  if not bin_string:
    raise ValueError("Empty string was passed to the function"	)
  SCREAMING_SNAKE_CASE:int   =   bin_string[0] == "-"
  if is_negative:
    SCREAMING_SNAKE_CASE:Optional[Any]   =   bin_string[1:]
  if not all(char in "01" for char in bin_string	):
    raise ValueError("Non-binary value was passed to the function"	)
  SCREAMING_SNAKE_CASE:Dict   =   0
  for char in bin_string:
    SCREAMING_SNAKE_CASE:Any   =   2 * decimal_number + int(snake_case	)
  return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
    from doctest import testmod

    testmod()









'''simple docstring'''

def 				A_					(	snake_case	):
  return "".join(chr(ord(snake_case	) + 32	) if "A" <= char <= "Z" else char for char in word	)


if __name__ == "__main__":
    from doctest import testmod

    testmod()






