summaryrefslogtreecommitdiff
path: root/tutorials/module_1/functions.md
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/module_1/functions.md')
-rw-r--r--tutorials/module_1/functions.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/tutorials/module_1/functions.md b/tutorials/module_1/functions.md
index a3d291d..decdb01 100644
--- a/tutorials/module_1/functions.md
+++ b/tutorials/module_1/functions.md
@@ -1,5 +1,7 @@
# Functions
+^630482
+
Like a traditional mathematical functions, python functions can take an input, process it, and give an output. In python, the input variables are referred to as *arguments*. Functions are blocks of code that is run every time it's called. This allows us to re-use code.
Functions are defined by using the <code> def </code> keyword. Reminder: it is important to keep track of indentations as it signifies the end of the function when the indentation returns back to the same level.