NEW
Font size
WorksheetsData Types
Total questions: 20
Worksheet time: 6mins
What is the Python data type bool stand for?
string
integer
Boolean
float
What does the Python data type str stand for?
string
integer
Boolean
float
What does the Python data type float stand for?
string
integer
Boolean
float
What does the Python data type int stand for?
string
integer
Boolean
float
What is the output for this line of code: print(type(8))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type(63.1))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type('hello'))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type(True))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type('True'))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type(4/2))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type(1/3))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type("1/3"))
<class 'bool'>
<class 'str'>
<class 'int'>
<class 'float'>
What is the output for this line of code: print(type(false))
<class 'bool'>
<class 'str'>
<class 'int'>
error
What is the stat type returned for this line of code: type(False)
Boolean
string
integer
float
What is the stat type returned for this line of code: type("Yeah online learning!")
Boolean
string
integer
float
What is the stat type returned for this line of code: type(0.6)
Boolean
string
integer
float
What is the output for this line of code: print(type('I love Quizizz!"))
<class 'bool'>
<class 'str'>
<class 'int'>
error
What is the stat type returned for this line of code: type(100)
Boolean
string
integer
float
What is the stat type returned for this line of code: type(100/4)
Boolean
string
integer
float
What is the stat type returned for this line of code: type(100/3)
Boolean
string
integer
float
