Defining a Function

In this lesson, we will start our discussion on functions and learn how to define our very own function.

Writing Your First Function

In a previous lesson, you were introduced to built-in functions; also known as methods. In this chapter, we will cover user-defined functions and learn how to write our very own functions. Let’s get straight to it and look at an example of a user-defined function.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy