β back to unit
Medium
# functions
Sort the Two Gold Piles
A treasure chest holds gold from two different rooms. The game needs to know both the smaller and larger amount. π°π°
Finish sort_gold(gold1, gold2) so it returns a list [smaller, bigger]. We'll print the smaller amount, then the bigger amount, on two lines.
π‘ need a hint?
func-two-gifts.pyπ given lines are locked β write your code in between
loading...