# sorting easy

The Two Cheapest

Pocket money buys the two cheapest snacks — which ones? 🍬

You get a list of prices (at least two). Print the two smallest, smallest first, comma-separated.

Example:

Input: prices = [40, 15, 90, 25] Output: 15,25

Sorted smallest-first gives [15, 25, 40, 90] — the first two are 15 and 25.

💡 need a hint?

sort-two-cheapest.py🔒 given lines are locked — write your code in between
loading...