Skip to content
Skip to page content
soylai.com

Functions — Part 1: Types of Functions, Defining and Calling

Beta
Lesson

Functions

Part 1 — what a function is, the three types of functions, and how to define, call and return from one.

In this lesson you will

  • Distinguish built-in functions, functions from modules and user-defined functions
  • Use functions of the math, random and statistics modules after importing them
  • Define and call a function, and explain the difference between return and print
Part 1 at a glance