Find the Runner-Up Score!

  • + 0 comments

    Bit of a simple question I was also trying to use remove(max(array)). Please could someone explain why
    highest = max(array)
    while max(array) == highest:
    array.remove(max(array))
    print(max(array))

    works but this won't:
    array.remove(max(array))
    print(max(array))