filmov
tv
How to do simple math in Python | Saving results and printing variables

Показать описание
LINKS TO FULL CONTENT
FULL LESSON DESCRIPTION
In this lesson we’ll introduce the concept of a “variable” as the a basic tool to save data in our program memory. We’ll then show how to leverage variables as a temporary storage for sequences of simple arithmetic computations. And we’ll conclude this lesson with a simple strategy to document our code through Python comments.
FULL LESSON CONTENT
Part 1. Variables
Part 2. Expressions
Part 3. Code comments
FULL LESSON DESCRIPTION
In this lesson we’ll introduce the concept of a “variable” as the a basic tool to save data in our program memory. We’ll then show how to leverage variables as a temporary storage for sequences of simple arithmetic computations. And we’ll conclude this lesson with a simple strategy to document our code through Python comments.
FULL LESSON CONTENT
Part 1. Variables
Part 2. Expressions
Part 3. Code comments