Lesson 7
Objects and Dictionaries
Chapter 1: Introduction
Introduction to Lesson 7
Hope that quiz was not too hard! Looking forward to more quizzes in this lesson!
In this lesson, we will continue increasing your programming repertoire with more powerful ‘tools’ to help make programming easier.
I first introduced you to the concept of object
s in general back in Lesson 2. In this lesson, we will start exploring in more detail what object
s are, and how they are not merely data types, and can be seen as another form of abstraction.
I will then introduce you to another type of complex data structure in Python, which are dictionaries.
The third main topic that I will cover in this lesson is the concept of recursion. This is sometimes a more elegant alternative to writing programs than using loops. I think the Mathematicians among you might enjoy this topic quite a bit!
As usual, I will try to make sure that you can see how you can apply all you have learned with some more challenging programming problems!
I will also discuss exception handling, that is how to handle potential errors so that your program can at least fail gracefully with a user-friendly message when an error occurs.
You will work just a bit more on your robot project.
We will also discuss a bit of Git where you try to clone a repository that exists online.
Are you ready?