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: implement the my_sum function

  • my_sum should be able to accept any number of values and return their sum.
  • my_sum() should return 0 or None. Decide yourself!
  • my_sum(2, 3) should return 5. etc.