






def       _SCREAMING_SNAKE_CASE    (			__lowercase :      str      ,					__lowercase :      str     )    ->   str:





    """simple docstring"""

    __A       =						len(__lowercase     )
    __A       =						len(__lowercase     )
    __A       =						(
        first_str_length if first_str_length > second_str_length else second_str_length
    )
    __A       =						[]
    for char_count in range(__lowercase     ):
        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(__lowercase     )


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












def       _SCREAMING_SNAKE_CASE    (			__lowercase :      int     )    ->   list[int]:





    """simple docstring"""

    if length <= 0 or not isinstance(__lowercase      ,					__lowercase     ):
        raise ValueError("""Length must be a positive integer."""     )
    return [n * (2 * n - 1) for n in range(__lowercase     )]


if __name__ == "__main__":
  print(hexagonal_numbers(length=5))
  print(hexagonal_numbers(length=10))




