




def       _SCREAMING_SNAKE_CASE      (							lowercase     :	int     ,							lowercase     :	int					):


      '''simple docstring'''



      if a < 0 or b < 0:
            raise ValueError('the value of both inputs must be positive'					)
      lowerCamelCase_							=   str(bin(lowercase					)					)[2:]  # remove the leading "0b"
      lowerCamelCase_							=   str(bin(lowercase					)					)[2:]
      lowerCamelCase_							=   max(len(lowercase					)     ,							len(lowercase					)					)
      return "0b" + "".join(
          str(int('1' in (char_a, char_b)					)					)
          for char_a, char_b in zip(a_binary.zfill(lowercase					)     ,							b_binary.zfill(lowercase					)					)					)


if __name__ == "__main__":
 import doctest

 doctest.testmod()









def       _SCREAMING_SNAKE_CASE      (							lowercase     :	str					):


      '''simple docstring'''



      if not all(char in '01' for char in bin_string					):
            raise ValueError('Non-binary value was passed to the function'					)
      if not bin_string:
            raise ValueError('Empty string was passed to the function'					)
      lowerCamelCase_							=   ''
      while len(lowercase					) % 3 != 0:
            lowerCamelCase_							=   '0' + bin_string
      lowerCamelCase_							=   [
          bin_string[index : index + 3]
          for index in range(len(lowercase					)					)
          if index % 3 == 0
      ]
      for bin_group in bin_string_in_3_list:
            lowerCamelCase_							=   0
            for index, val in enumerate(lowercase					):
                  oct_val += int(2 ** (2 - index) * int(lowercase					)					)
            oct_string += str(lowercase					)
      return oct_string


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

 testmod()



