Detailed Python Course Information
Getting Started
- History of Python
- Sample Python projects
- Writing your first program
- Saving and opening programs
- Using comments
Moving your Turtle
- Using the turtle module- pen()
- Using the turtle module – forward(), backward(), left(), and right()
- Changing the pen size and color
- Penup() and pendown()
- Drawing circles
Math and Variables
- Operators and Order of Operations
- Variables
- Revisiting the turtle with variables
Strings
- Creating strings
- Multi-line strings
- Quotation marks inside strings
- Embedding values inside strings
- Multiplying strings
- Using the input() function
- Converting strings to numbers
- Concatenating strings
Reusing Code with Functions and Modules
- Defining a function
- Using functions
- Returning a value
- Variables and scope
- Modules
Conditional Statements
- If statements
- If-then-else statements
- If and elif statements
- Multiple conditions and multiple if statements
Loops
- Using for loops
- Creating while loops
- Nesting loops
- Using the break command and avoiding infinite loops
Using the Turtle with Loops and Functions
- Drawing with loops
- Drawing with Functions
- Adding more color
- Drawing spirals
Data Structures
- Lists
- Maps
Introduction to Object Oriented Programming
- Introduction to Object Oriented Programming
- Classes and Objects
- Instance Variables and Methods
- Class Variables
- Special Method Names
- Class Containment and Default Parameters
- Inheritance
Built-in Functions
- Helpful built-in functions
Working with Files
- Creating a file
- Opening a file in Python
- Writing to a file