def emergency_order(data, target):
    high = 0

    for i in range(len(data)):
        if high < data[i]:
            high = data[i]
            target = i

    return target

data = [60, 50, 70, 80]
target = 0
print(emergency_order(data, target))

    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: