问题描述:
Write a python function to find the position of the last removed element from the given array.

测试用例:
['assert get_Position([2,5,4],3,2) == 2', 'assert get_Position([4,3],2,2) == 2', 'assert get_Position([1,2,3,4],4,1) == 4']

生成的代码:
def get_Position(array, element, remove_order):
    if element not in array:
        return -1  # Element not found in the array
    index = array.index(element)  # Get the index of the element
    # The last removed position is based on the remove_order
    return index + 1 if remove_order > 0 else -1

# Test cases
assert get_Position([2,5,4],3,2) == 2
assert get_Position([4,3],2,2) == 2
assert get_Position([1,2,3,4],4,1) == 4