Before we get started, lets all take a few minutes to introduce ourselves, and discuss our experience with coding in general and Python in particular. By the end of the lesson, you should be able to create basic programs in Python, as well as understand why it is one of the rapidly growing programming languages.
1. Introduction (15 min): Overview of Python and its applications in business. Video link:
2. Basic Syntax and Variables (30 min): Learning common Python commands such as if/elif/else, and how to assign variables. Handout:
3. Functions (30 min): How functions are used in Python and how they are defined. Handout:
4. Control Flow (30 min): Decision making with statements such as ‘for’ and ‘while’. Handout:
5. Debugging (30 min): How to debug Python programs. Videos link:
6. Wrap Up (15 min)
- While presenting the material, be sure to ask students to explain what is happening and make sure that everyone is understanding the content.
- Ask guiding questions to support students when they need help troubleshooting.
- At the end of the class, there will be a formative assessment to assess students’ progress.
- This assessment will focus on the students’ ability to write basic programs in Python.
- Provide a variety of supplementary activities and materials to ensure that all learners are given the opportunity to reach their full potential.
- Pair students of different ability levels to work together on some tasks to accommodate for any learning differences.
By the end of the lesson, students should be able to demonstrate understanding of the fundamentals of Python programming and be able to produce basic programs in the language.