Workshop
Quiz
1. The print function is part of the Python standard library and is considered a built-in function.
True or false?
2. When is a variable created and assigned a data type?
3. Which of the following is a valid Python data type?
a. int
b. input
c. print
Answers
1. True. The print function is a built-in function of the standard library. There is no need to
import it.
2. A variable is created and assigned a data type when it is assigned a value. The value and data
type for a variable can be changed with a reassignment.
3. int is a Python data type. input and print are both built-in Python functions.