Title: Assignment Statement
Course: CPS 120: Introduction to Computer Science ~ Master (Aug/2015) OLD > Section: Learning Units

Python Assignment Statement:

- Is one way to place a value into a variable.
- When a value is assigned to a variable, the data type of the value is also assigned to the variable.
- Python data types include string (str), integer (int), real-number (float), and Boolean (bool).

Assignment Statement syntax:

<variable> = <expression>

Where <expression>

Assignment Statement Examples

ZipPlus4 = 48109
Name = "Arlene"
lastLineFlag = False