CS110: Spring 2020

Intro to Computer Programming with Python

CS110: Spring 2020

Creating Your Own Functions

In this lesson, we’re going to go over how to create your own functions. After this lesson, we will have covered everything that you need to know in order to complete Tutorial 1, Tutorial 1 and HW2

Please Complete the Following Tasks

1. Download the Exercise Files

Exercise Files

2. Review the Slides

  1. Creating your own functions & modules
  2. Supplementary Slides for Live Lecture

3. Watch the Lecture Video(s)

Link Title Type Duration
Video 1 Built-in functions review pre-recorded 12:03
Video 2 The rules for defining functions pre-recorded 9:25
Video 3 Making our first function pre-recorded 10:11
Video 4 More on parameters and arguments pre-recorded 7:20
Video 5 Modules pre-recorded 9:42
Video 6 Practice writing functions and modules lecture 01:25:47

4. Review / Study the Supplemental Materials

Note: these readings / videos are suggested for additional context / examples, but not required.

  1. Severance Ch9: Lists.
    readingvideo
  2. Severance Ch10: Tuples.
    readingvideo