Introduction to Functions

Learn one of the fundamental building blocks of all languages: functions. Learn how to write a function, why they're useful, and what we can do with them.

We now get to one of the topics that new programmers find most difficult. Once the understanding sinks in, however, it’ll feel trivial. You’ll write functions pretty much every single day that you write code.

Let’s show some code and then discuss what’s happening.

Create a free account to access the full course.

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