Functions 2
learning goals
- We will review the quiz from last week.
- We will continue to the next level of using
git add
andgit push
to be able to move away from drag and drop procedures. - We will work with external website material; no required reading from texts.
- We will review the material from our first Functions Session
- We skipped
*args
and**kwargs
so I moved those slides to the Functions 2 session here. - Introduce the concept of functional programming and contrast it with procedural programming.
- Introduce object oriented programming, but will cover that in depth in a future session.
- Create a "pure" function, which we will learn about when learning about functional programming.
- Demonstrate the following:
- importing Python Random Module
- variable scope
- custom modules
- main functions
- global variables
- importing Python Math module
- Look at two Number Guessing games and review multiple examples of the rock, paper scissors game to see the graduation from simple to complex programming
We will wrap up Assignment 02 and 03. We will start working on Assignment 04 and 05 which will be due by October 28.