def list_com(array):
    new_array = []
    for number in array:
        if number % 2 == 0:
            number = number ** 2
        else:
            number = int(number ** 0.5)
        new_array.append(number)
    return new_array


print(list_com([1, 56, 34, 78, 55, 90, 11, 73]))

0a3a4cd7019219bf719df8e30f4e1101b3d1a21f
<mask token>

def list_com(array):
    new_array = []
    for number in array:
        if number % 2 == 0:
            number = number ** 2
        else:
            number = int(number ** 0.5)
        new_array.append(number)
    return new_array


<mask token>

def list_com(array):
    new_array = []
    for number in array:
        if number % 2 == 0:
            number = number ** 2
        else:
            number = int(number ** 0.5)
        new_array.append(number)
    return new_array


print(list_com([1, 56, 34, 78, 55, 90, 11, 73]))
