Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Defining and Calling Python Functions

via CodeSignal

Overview

Learn to define and call Python functions, reuse one function across many calls, and organize a script into several cooperating functions.

Syllabus

  • Unit 1: Defining and Calling Functions
    • Reading a Definition and Its Call
    • Make the Banner Actually Run
    • Define and Call a Footer Function
    • Fixing the Trapped Summary Call
    • Trim the Report Tool to One Function
  • Unit 2: Reusing Python Functions
    • One Definition Four Calls
    • Frame a New Section
    • Refactor Repeated Star Lines
    • Write print_dashes and Call It
    • Restore the Report Layout
  • Unit 3: Organizing Multiple Python Functions
    • Three Definitions Three Ordered Calls
    • Adding an Attendees Function
    • Restore the Intended Call Sequence
    • Fix a Call That Runs Early
    • Add Three Functions to the Standup

Reviews

Start your review of Defining and Calling Python Functions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.