Finish Line Order

Python FundamentalsEasy+10 XP+10

Finish Line Order

Three runners cross the finish line. You know who came first, second and third.

Task: write finish_order(first, second, third) that returns a list of the three names, in finishing order.

Examples

first = "Mo"
second = "Ade"
third = "Lin"
returns ['Mo', 'Ade', 'Lin']
first = "Zed"
second = "Amy"
third = "Kit"
returns ['Zed', 'Amy', 'Kit']

Hints

Solve it to unlock the solution

Once your code passes every test, a reference solution shows up here so you can compare it with yours.

solution.py
CtrlEnterto run