Skip to main content

Variables and Statements

With input, calculations, and more print() function output

Learning Goals

Preparation for class:

  1. The primary goal for this session will be practicing coding. A lot. I will introduce some "beginner" coding examples that may not be covered in the readings, just to prime you for the complexity that will be coming very soon.
  2. Review the highlighted Computer Basics file I posted in Canvas.
  3. We will review the slide show from last week. I will also have an additional presentation posted here that will cover, input, calculations, and print() function formatting.

We covered the topics of Variables and Statements last week, but this week we will spend more time actually programming more variables and statements and we will add input, type conversion, calculations, and more intermediate to advanced print() function formatting.

I want to polish up my slides some more, and I will post them as soon as they are ready. (even if they are not as pretty as I like!)

input, calculations, print functions

Python Interpreter

We did a little bit of a demo with the interpreter last week. We will demo it some more, but we will mostly practice in Visual Studio Code in this session.

We will spend a lot more time with the Basics Code Samples in the site sidebar, and try to code up unique and personal micro-programs.