Programming Concepts for Python
2h 27mBeginner2023-10-25
Authors

Barron Stone
Electrical Engineer

Olivia Chiu Stone
Programmer, Engineer
Course details
Understanding core programming concepts and why they are used is just as important as knowing how to write code. New programmers need to learn to bridge the gap and to connect the theory to practice. In this course, Barron Stone and Olivia Chui Stone illustrate programming concepts in Python by relating them to real-life objects, actions, and scenarios. Each video focuses on a different analogy that demonstrates the concepts in code. Join Barron and Olivia as they take you through a typical Saturday and use regular tasks and errands—and even ordering pizza—to explain functions, objects, queues, sets, loops, and other programming constructs.
Skills covered
Programming FoundationsPythonProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
Introduction
- Programming concepts with Python
- What you should know
- Using GitHub Codespaces
Functions
- Functions
- Code reuse
- Parameters and arguments
- Multiple parameters
- Local and global variables
Objects
- Objects
- Classes
- Object names
- Mutability
Class Inheritance
- Class inheritance
- Overriding inherited methods
Modules and Packages
- Modules
- Packages
Lists and Tuples
- Lists
- Multidimensional lists
- Tuples
Queues and Stacks
- Queues
- Stacks
Sets
- Create and combine sets
- Sort sets
- Add and remove items from sets
Dictionaries
- Dictionaries
- Add items to dictionaries
- Reverse lookup issues
Conditional Execution
- If-else statements
- Match statements
Loops
- For loops
- While loops
- Break statements
Error Handling
- Catch errors
- Validate input
- Customize errors
Polling and Event-Driven Programming
- Polling
- Event-driven programming
Conclusion
- Next steps