# 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...