python – Converting a string to an array of integers

I am dealing with a string draw_result that can be in one of the following formats:

"03-23-27-34-37, Mega Ball: 13"
"01-12 + 08-20"
"04-15-17-25-41"

I always start with draw_result where the value is one from the above values. I want to get to:

(3, 23, 27, 34, 37)
(1, 12, 8, 20)
(4, 15, 17, 25, 41)

I have created this fiddle to show the code working.

CODE

draw_result = "04-15-17-25-41" # change to "01-12 + 08-20" or "04-15-17-25-41" or "03-23-27-34-37, Mega Ball: 13" to test

def convert_to_int_array(draw_result):
    results_as_array = None
    
    if ',' in draw_result:
        target = draw_result.split(',', 1)(0)
        results_as_array = target.split('-')
    elif '+' in draw_result:
        target = draw_result.split('+')
        temp = "-".join(target)
        results_as_array = temp.split('-')
    else:
        results_as_array = draw_result.split('-')
    
    for index in range(0, len(results_as_array)):
        results_as_array(index) = int(results_as_array(index).strip())
    
    return results_as_array
    
result_from_function = convert_to_int_array(draw_result)

print(result_from_function)

The code works, but I want to know if what I’ve done is good or bad? Can it be done better in terms of readability & fewer lines of code?

I do not want to sacrifice readability/n00b friendliness for fewer lines of code.