Back to Lesson

Multi-Return Sorting

Write a function that returns multiple calculated values as a tuple.

Instructions

  • Complete the
    process_scores
    function so it returns a tuple containing two items: the minimum score and the maximum score from the provided list.
  • The function is called with
    scores = [45, 92, 12, 78, 88]
    , and the result is unpacked into
    lowest
    and
    highest
    .
  • Print
    lowest
    and then
    highest
    .
main.py
main.py