Day 5: subroutines

turn in homework [0]

brief homework solution [5]

daily topic []

  1. title
  2. motivating problem
  3. been using subroutines already: print, open
  4. why use subroutines?
  5. DRY
  6. how to define a subroutine
  7. how to call a subroutine
  8. arguments
  9. return values
  10. variable scoping
  11. when to write a subroutine
  12. other scripting languages

new homework [5]

questions/discussion [5]