Topic 2 - Variables and Input

This topic will cover the very basics of how to store data in variables and how to read information in from the keyboard.

Topic 2 - Variables and Input

What to do?

1 - Follow along with the lesson in class or complete the tutorial below. We will cover the following items:

  • variables

        • assigning values, changing values, using values

  • string vs numeric data, data conversions

  • variable naming conventions

  • input

        • proper prompts, numeric conversion

2 - After the lesson, complete the online quiz:

http://programarcadegames.com/quiz/quiz.php?file=python_as_calculator&lang=en

3 - Complete the four Practice Exercise programs on page 4 of the tutorial. Try to do them on your own, we will take them up as a class.

4 - Complete the Worksheet and submit it. It can be downloaded in the Files section or you can get a paper copy from Mr. Aldworth.

What to Submit?

1 - The Worksheet found in the Files section. Mr. Aldworth will also have a paper copy for you.

Tutorial

We will work through this as a class, but you may work ahead if you wish.

Topic 2 - Input Variables and Data Types.pdf

Files