Basic Print
Variables
Syntax
Debug the Code
100

What is the correct way to print Hello World?

a. print(Hello World)

b. Print(Hello World)

c. print("Hello World)

d. print("Hello World")

What is d. print("Hello World")

100

Create a variable named pet.

Ex: pet = "Newt"

pet = "dog"

100

True or False

The keyword print can be capitalized

False
100

Print("ABC")

print("ABC")

200

You are given the variable age = 13. Write a print statement that prints the variable.

print(age)

200

What is placed in between the name of the variable and the value of the variable?

an equal sign =

200

True or False

The names of variables should be capitalized.

False

200

print = ("Surely this is correct, right?")

print("Surely this is correct, right?")

300

Correct the code below:

print = ("This code is right")

print("This code is right") 

No equal sign needed for print statements

300

True or False

The following variable is correct:

age = 28

True

300

True or False

The names of variables that are made up of two or more words can have spaces

ex: pet dog = "Newt"

False

Correct version:

pet_dog = "Newt"

300

age : 13

print(age)

age = 13

print(age)

400

Data stored as a string is surrounded by these.

Hint: think about how we would print() the words

Hello World

What are quotation marks "" ?

400

Write a variable named number and store the value 13 inside of it.

number = 13

      OR

number = "13"

      OR

number = 13.0

We'll talk more about this later!

400

True or False

Variables should have descriptive names.

True

character is a better variable name than char

400

name = "Thomas

print(name)

name = "Thomas"

print(name)

500

List the 3 things that make up every print statement in Python.

the word print

parentheses

the data inside of the parentheses (words, numbers, etc.)

500

Create a variable named classroom and store the value Miller's inside of it. Then, print the variable.

classroom = "Miller's"

print(classroom)

500

True or False

Every parenthesis/quotation mark must have another parenthesis/quotation mark to pair with it.

True

ex: print("One of each on each side of these words")

500

Grade = "A+"

print(Grade)

grade = "A+"

print(grade)

M
e
n
u