Sports day teams are noted as (team, points). Write standings(teams) with the most points first; when points tie, put the team names in alphabetical order. Return the team names; no teams gives [].
standings([("Red", 6), ("Blue", 9), ("Gold", 6)])→['Blue', 'Gold', 'Red']standings([])→[]def standings(teams):
# your code here: a key that returns a tuple: the points made negative, then the name
ordered = teams
return [name for name, points in ordered]
Run tries the examples. When they look right, Submit.