02/12/15
Learning Objective:
Recall types of data in Python
Describe what a variable is in Python
Understand how to use selection and create a
simple calculator using PythonAchievement books :)
What are variables?
A variable is just a box that you can store items in:
The contents of a variable can change within a program.
You need to use the = sign to declare a variable
MyVariable = Peter (string)
MyVariable = 12 (integer)
MyVariable = 12.5 (float)
Comments
Post a Comment