Skip to main content

29 posts tagged with "Turtle"

View All Tags

OOP: Inheritance

Subclasses, Method Overriding, and super()

· 3 min read

In the previous unit, we explored methods and the difference between class and instance variables. Now let's look at inheritance, which lets a class inherit attributes and methods from another class.

OOP: Inheritance

OOP: Methods and Variables

Constructor, Instance Methods, and Class vs Instance Variables

· 3 min read

In the previous unit, we introduced classes and objects. Now let's dig deeper into methods, functions that live inside classes, and understand the difference between class variables and instance variables.

OOP: Methods and Variables

File Operations

Reading and Writing Data in Python

· 3 min read

In the previous unit, we learned about dictionaries. Now let's explore file operations: how to read data from files and write data to files so your programs can persist information.

File Operations

Lists

Storing Multiple Values in Python

· 3 min read

In the previous unit, we explored string operations. Now let's look at lists, Python's way of storing multiple values in a single variable.

Lists

Built-in Functions

Tools That Come with Python

· 3 min read

In the previous unit, we made our Turtle programs interactive with keyboard and mouse events. Now let's explore Python's built-in functions, tools that are always available without importing anything.

Built-in Functions