What is the expected output of the following code?
A. The code is erroneous and cannot be run.
B. ppt
C. 213
D. pizzapastafolpetti
What is the expected output of the following code?
A. The code is erroneous.
B. ['Peter', 'Jane', 'Mary']
C. ['Peter', 'Jane']
D. ['Paul', 'Mary', 'Jane']
The result of the following addition: 123 + 0.0
A. cannot be evaluated
B. is equal to 123
C. is equal to 123.0
What is the expected output of the following code?
A. 1 2 1
B. 2 1 2
C. 1 1 2
D. 1 2 2
If a list passed into a function as an argument, deleting any of its elements inside the function using the del instruction:
A. will not affect the argument
B. will cause a runtime error
C. will affect the argument
What is the expected output of the following code?
A. 4
B. The code is erroneous.
C. 6
D. 2
Consider the following Python code:
What are the types of the variables distance, amount and country?
A. oat, int, str
B. oat, str, str
C. double, str, oat
D. oat, oat, str