11: Objects and Classes

Introduction Objects can be one of the most difficult programming concepts to understand. Once it clicks, however, it really clicks. I recommend you read and pay close attention to the textbook, and utilize your resources until you understand objects and classes, as your upcoming evaluation will rely heavily on your understanding of these concepts. Before you begin, please read the Python documentation 9.2. Python Scopes and Namespaces. This stuff messes a lot of people »

03: Lists

Introduction Many programming tasks require the programmer to manipulate data in many ways. Often, we are given a finite set of data and must perform some sort of operation on it (arithmetic, sorting, etc.). Let’s look at one way to handle sets of information in Python. Let’s say we’re given a grocery list, and told to store it into a single variable, groceryList. Python has a built in data type called a »