
Printing and Variables Lesson
Presentation
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Daniel Clark
Used 3+ times
FREE Resource
8 Slides • 10 Questions
1
2
Use the print function (i.e. print ())
must have parentheses ()
must have double quotation marks, "Hello"
must begin with the word print
How to Print or Display Text
3
Multiple Choice
When printing in python, you must have the following?
the word 'print'
double quotation marks
parentheses ()
all of the above.
4
Multiple Choice
Pilar writes the following code:
print("Hello, my name is Pilar!") What will the computer display?
5
Multiple Choice
Anything you want printed in Python must be within the ...?
parentheses and quotes
curly braces only
quotes only
brackets only
6
7
Str(string) - characters, words, letters, spaces
Int (integers) - positive and negative whole numbers
Float - positive and negative decimal numbers.
8
Match
Match the example to its variable type.
"Hello, World!"
-9
4.99
" @ "
100
string
integer
float
string
integer
string
integer
float
string
integer
9
Variable Naming
A variable stores information to be used later.
A variable has a
NAME,
TYPE,
SAVED VALUE.
10
last_name = "Reyes"
Variable name is last_name
Type = String
Assigned value = Reyes
11
Multiple Choice
The following variable, shirt_price = 19.99, has a value of ?
12
Multiple Choice
What is variable name for the following variable, temperature = 99.8 ?
13
Multiple Choice
The variable, location = "Dallas, TX", is what type of variable?
float
14
To use a variable, we first must define and declare a variable
Create a variable name and give it an assigned value. Then to print the variable simply put:
print (variable_name)
the print function will print the value attached to the variable name.
15
Dallas, TX
Line 1 : location = "Dallas, TX"
Line 2: print (location)
16
Multiple Choice
Lincoln wants to create a variable called hourly wage with an assigned value of 15.00, which naming is correct?
17
Multiple Choice
Sara creates the following variable, hours_worked = 12, and she does the following, print(hours_worked). What will be printed?
hours_worked
hours_worked = 12
21
18
Poll
What is your understanding of printing, variables, and variable types?
1 = I understand not at all.
2 = I understand somewhat.
3 = I understand mostly, with little confusion.
4 = I understand completely.
Show answer
Auto Play
Slide 1 / 18
SLIDE
Similar Resources on Wayground
17 questions
Protein Synthesis Final
Presentation
•
9th Grade
14 questions
Exponential Growth and Decay Vocabulary
Presentation
•
9th Grade
14 questions
French Revolution
Presentation
•
9th Grade
11 questions
Respiratory and Circulatory Systems
Presentation
•
9th Grade
13 questions
Conditional Statement
Presentation
•
9th Grade
15 questions
Массивы 2 урок
Presentation
•
9th Grade
15 questions
Propaganda Notes
Presentation
•
8th - 9th Grade
11 questions
Scientific Variables
Presentation
•
8th - 9th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade