Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: statistics

Create a file called statistics.py that has a function that will accept any number of numbers and return a list of values:

  • The sum
  • Average
  • Minimum
  • Maximum