Podcast
Questions and Answers
Which of the following is NOT a Python data type?
Which of the following is NOT a Python data type?
- String
- Integer
- Character (correct)
- Boolean
Which of the following statements about Python variables is correct?
Which of the following statements about Python variables is correct?
- Variables must be declared before they can be used
- Variables cannot be assigned new values once declared
- Variables can only store numeric values
- Variables can change their data type during execution (correct)
What is the output of the following code?
x = 5
y = 2
print(x // y)
What is the output of the following code?
x = 5 y = 2 print(x // y)
- 2.0
- 2.2
- 2
- 2.5
Which of the following is NOT a Python data type?
Which of the following is NOT a Python data type?
What is the output of the following code?
x = 5
y = 2
print(x // y)
What is the output of the following code?
x = 5 y = 2 print(x // y)
Which of the following statements about Python variables is correct?
Which of the following statements about Python variables is correct?