Only this week, get the SQL Complete Track of 9 courses in a special prize of $330$89!
Introduction
Function basics
2. Introduction to functions
Summary

Instruction

Okay, let's recall what functions are. Functions are blocks of code that have their own names and can take arguments. When you use

print('Hello World!')
'Hello World!' is an argument – after all, print() needs to know what to show in the output.

Functions are an important concept in programming. They are reusable – you only need to provide the code once, and you can then use it anywhere else. Programs that use functions are organized, easier to understand, and easier to develop.

Exercise

Click to continue.