PYTHON PROGRAMMING
PYTHON PROGRAMMING
TABLE OF CONTENTS
MODULE TOPICS
WEEK 1 TOPICS
WEEK 2
TOPICS
TOPICS
Chapter 5: Functions
Monday: Creating and Calling Functions
o What Are Functions?
o Function Syntax
o Writing Your First Function
o Function Stages
o UDF vs. Built-in
o Performing a Calculation
Tuesday: Parameters
o What Are Parameters?
o Passing a Single Parameter
o Multiple Parameters
o Passing a List
o Default Parameters
o Making Parameters Optional
o Named Parameter Assignment
o *args
o **kwargs
Wednesday: Return Statement
o How It Works
o Using Return
o Ternary Operator
Thursday: Scope
o Types of Scope
o Global Scope Access
o Handling Function Scope
o In-Place Algorithms
Friday: Creating a Shopping Cart
o Final Design
o Initial Setup
MODULE o Adding Items
o Removing Items
WEEK 2 o Showing the Cart
o Clearing the Cart
TOPICS
TOPICS
TOPICS
TOPICS
Weekly Challenges
WEEK 4
TOPICS
TOPICS