Introduction to Functions

Function_machine2_svg

Today we’re going to take a look at a Python programming construct called funcitons. Our objective is to learn to define and use funcitons to help organize our code and make our programs more efficient.

Begin by completing the tutorial found here.  Read the first section down to the first pale blue workspace.  Then scroll down to the exercises and write a program for #2.  Save your program as yourname-funcitons-2.py.