Question 86
What is the expected output of the following code?
- The code is erroneous and cannot be run.
- ppf
- pizzapastafolpetti
- 213
Question 87
What is true about tuples? (Choose two.)
- Tuples can be subtracted using the ‒ operator.
- The for loop can be used to iterate through a tuple.
- A one-element tuple can be coded as <1, > or 1, .
- A tuple can be expanded using the .append() method.
Question 88
What would you insert instead of ???, so that the program checks for even numbers?
- x % ‘even’ == True
- x % 2 == 1
- x % 2 == 0
- x % x == 0
- x % 1 == 2
Question 89
What value will be assigned to the x variable?
- 0
- True
- False
- 1
Question 90
What is the expected output of the following code? x = 1 // 5 + 1 / 5 print(x)
- 0
- 0.2
- 0.0
- 0.4