Lesson 1.3 — Numbers, Arithmetic, and Order of Operations

Lesson 1.3 — Numbers, Arithmetic, and Order of Operations

Module: Module 1 — Variables, Data, and ArithmeticEstimated Time: 45–60 minutesPrerequisites: Lesson 1.1 — Variables, Lesson 1.2 — Strings Learning Goal By the end of this lesson, you should be able to store numbers in variables, perform arithmetic with them, calculate percentages, and predict how Python evaluates mathematical expressions. 1. The Need So far, your … Read more

Lesson 1.2 — Strings

Featured image for Lesson 1.2 showing Python string variables, quotation marks, string concatenation, and terminal output in VS Code

Module: Module 1 — Variables, Data, and ArithmeticEstimated Time: 30–45 minutesPrerequisites: Lesson 1.1 — Variables Learning Goal By the end of this lesson, you should be able to recognize strings, create string values, store them in variables, combine strings, and explain why quotation marks matter. 1. The Need In the previous lesson, you created variables … Read more

Lesson 1.1 — Variables

Featured image for Lesson 1.1 showing Python variables in VS Code with a name-equals-value diagram and terminal output

Module: Module 1 — Variables, Data, and ArithmeticEstimated Time: 30–45 minutesPrerequisites: Module 0 Learning Goal By the end of this lesson, you should be able to create variables, store values inside them, use those values in a program, and explain what happens when a variable is reassigned. 1. The Need In Module 0, you wrote … Read more