Cheapest first
Write cheapest_first(prices) that returns a new list with the prices in
ascending order, leaving the original list unchanged.
cheapest_first([40, 2.5, 25]) -> [2.5, 25, 40]
def cheapest_first(prices):
...
Write cheapest_first(prices) that returns a new list with the prices in
ascending order, leaving the original list unchanged.
cheapest_first([40, 2.5, 25]) -> [2.5, 25, 40]
def cheapest_first(prices):
...