Question 31
What is the expected output of the following code?
- [7, 3, 23, 42]
- [7, 20, 23, 42]
- [10, 20, 42]
- [10, 20, 23, 42]
Question 32
Take a look at the snippet and choose one of the following statements which is true:
- vals is longer than nums
- nums and vals are of the same length
- nums is longer than vals
Question 33
What is the expected output of the following code?
- (1, 2)
- The code is erroneous.
- {'a':1, 'b':2}
- [1,2]
Question 34
How many elements does the L list contain?
- one
- two
- three
- zero
Question 35
What is the output of the following snippet?
- 1
- 0
- 6