Exercise Set 3

Exercise 1 of 9

Which of these are all Python data types?

Exercise 2 of 9

What data type is the variable x?
x = "hello"

Exercise 3 of 9

What data type is the variable y?
y = -4.6

Exercise 4 of 9

What data type is the variable z?
z = 187

Exercise 5 of 9

Which of these is an acceptable variable name?

Exercise 6 of 9

Correct the mistake in the line of code.
my var = 12

Your code

Exercise 7 of 9

Which of these is NOT true about variable names?

Exercise 8 of 9

Write a line of code to print a sentence using the variable name.
name = "Jessica"

Your code

Exercise 9 of 9

Write a line of code to print a sentence using the variable age.
age = 12

Your code