Skip to main content
420-SN1 Notes
Syllabus
Youmna
Keith
Final Exam
List of topics Fall 2026
Previous Years Exams
Reference sheet
Turtle Graphics
Python Turtle Graphics
Draw a simple house
Lab: Robot Collision Avoidance
Functions
What are functions?
Objectives
Course Goals
Approaching Problems
Introduction
Files & Folders
Useful Definitions
Python Programing Language
Getting Started
Using Lea
Using The Thonny Python Environment
Variables & Data Types
Variables and Constants
Integers & Floats
Booleans
Strings
✍️ Variables & Data Types
String Handling
f-strings
f-string Formatting
String Operations
Operators
Arithmetic operators
Assignment operator
Comparison operators
Logical operators
Order of Operations
✍️ Arithmetic operators
✍️ Assignment operators
Conditions
Conditional Statements
The if-else statement
The if-elif statement
✍️ Practice Conditions
✍️ Complex Conditions
Loops
For Loop
✍️ For Loops
While Loop
✍️ While Loops
Functions
What are functions?
The Math Module
Print & Input
Custom Functions
Scope & Statements
✍️ Custom Functions
✍️ Many Mini Functions
✍️ Print & Input functions
Lists
Intro on Lists
Accessing elements
Looping over elements
Finding Elements
Reordering Lists
✍️ Lists
Scientific Modules
Reading/Writing Files
Installing Python Modules
Intro to NumPy
Intro to Matplotlib
Functions
What are functions?
What are functions?
All credits go to
Sandy Bultena
for those notes!
Download the PDF
containing these lecture notes.
✍️ While Loops
The Math Module