






'''simple docstring'''

def 					lowercase__				(   __UpperCamelCase	,		__UpperCamelCase					)->				str:
      UpperCamelCase       						=      len(snake_case__					)
      UpperCamelCase       						=      len(snake_case__					)
      UpperCamelCase       						=      (
          first_str_length if first_str_length > second_str_length else second_str_length
      )
      UpperCamelCase       						=      []
      for char_count in range(snake_case__					):
            if char_count < first_str_length:
                  output_list.append(first_str[char_count]					)
            if char_count < second_str_length:
                  output_list.append(second_str[char_count]					)
      return "".join(snake_case__					)


if __name__ == "__main__":
     print(alternative_string_arrange('AB', 'XYZ'), end=' ')








'''simple docstring'''

def 					lowercase__				(   __UpperCamelCase					)->				str:
      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"""					)
      UpperCamelCase       						=      """"""
      while len(__UpperCamelCase					) % 3 != 0:
            UpperCamelCase       						=      """0""" + bin_string
      UpperCamelCase       						=      [
          bin_string[index : index + 3]
          for index in range(len(__UpperCamelCase					)					)
          if index % 3 == 0
      ]
      for bin_group in bin_string_in_3_list:
            UpperCamelCase       						=      0
            for index, val in enumerate(__UpperCamelCase					):
                  oct_val += int(2 ** (2 - index) * int(__UpperCamelCase					)					)
            oct_string += str(__UpperCamelCase					)
      return oct_string


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

     testmod()
