You'll work through these in order.
| Topic | Description | Link |
|---|---|---|
| 1 | Python Intro 1 | here |
| 2 | Python Intro 2 | here |
| 3 | Python Intro 3 | here |
By the end of this lesson, students will be able to:
- Fork and clone a repo
- Create a Markdown cell
- Create and run a code cell
- Open and save files
- Restart and shutdown kernels
- Define integers, strings, tuples, lists, and dictionaries.
- Demonstrate arithmetic operations and string operations.
- Demonstrate variable assignment.
- Implement
forloops to iterate through data structures. - Apply
if, elseconditional statements. - Create functions to perform repetitive actions.
- Use
enumerateto get an index for each list item - Use
zipto combine two lists into a dictionary. - Use list comprehensions to create lists.
- Use
try-exceptblocks to catch exceptions. - Understand what a class is.
- Understand what an object is.
- Understand what an attribute is.
- Understand what a method is.
Before this lesson(s), students should already be able to:
- Navigate the command line
Python Foundations
- Data Types
- Python Variables
- Operators
- Integers and Floats
- Strings
- Lists
- Tuples
- Dictionaries
- Importing Packages and Documentation
- If... Else Statements
- Iterating with For Loops
- Functions
Optional
- List Comprehensions
- Classes
- Enumerate
- Zip
- Try/Except
- Lambda Functions
Browser-based coding lessons:
Intermediate/Advanced Python Tutorials
For more information on these topics, check out the following optional resources:
Command Line
Git
Jupyter
