Chapter 14
Data and Variables
Learning Objectives
After completing this chapter, you should be able to understand the following:
- different types of data
- operators
- operands
- initializing variables
- expressions and return values
- how to collect user input
Key Terminology
Values and Data Types
- value
- data type
- number
- string
- type
- integer
- float
- expression
- returns
- type system
Variables
- variable
- assignment statement
- evaluation
More on Variables
- keywords
- reserved words
Expressions and Evaluations
- expression
- returns
Operations
- operator
- operand
- arithmetic operators
- modulus
- order of operations
- PEMDAS
Input with input()
- input
- prompt