DO NOW
Complete the classroom scavenger hunt worksheet based on your observations.
VARIABLES
IN
PYTHON
Lesson Goals
UNDERSTAND THE PURPOSE OF VARIABLES
MASTER VARIABLE DECLARATION AND INITIALIZATION
CREATE VARIABLES IN PYTHON
1
2
3
SCAVENGER HUNT REVIEW
DO NOW
Scavenger Hunt Review
What is a variable?
DECLARING VARIABLES
Rules for declaring variables
Begin with a letter or underscore� Letters, numbers, or underscores | | Spaces
|
Rules for declaring variables
BE�DESCRIPTIVE
car_color
address@school!
a1
Scavenger Hunt
TURN & TALK
INSTRUCTIONS
EXTENSIONS
Item |
Number of Chairs |
Color of a backpack |
Electronic Devices |
Number of Windows |
number_of_pencils
8
PyCharm
Right tool
for the
right job
Create Variables
PARTNER ACTIVITY
INSTRUCTIONS
EXTENSIONS
Variables are named storage locations that hold data.
Variables have rules for declaring them.
After a variable is initialized, it holds a value.
SUMMARY
inclass.py
inclass.py
Extension 1
inclass.py
Extension 2
madlib.py
Extension 3
WRAP UP
917.359.1996
www.teachCS.info
CONTACT US
The information contained in these documents is confidential, privileged and only for the information of the intended recipient and may not be used, published or redistributed without the prior written consent of TeachCS LLC.