What is the output of this code?
Anonymous Quiz
47%
{1, 'Python Quiz', ['abc', 'xyz'], True}
31%
{1, 'Python Quiz', ['abc', 'xyz']}
22%
TypeError
What is the output of the following code?
Anonymous Quiz
78%
10, 11, 12, 13, 14,
22%
10, 11, 12, 13, 14, 15,
What is the output of this code?
Anonymous Quiz
27%
[1j,4,5]
11%
[5,4,1j]
43%
TypeError
18%
[4,5,1j]
What is the output of the following string comparison
Anonymous Quiz
19%
False; True
43%
True; False
38%
False; False
What will be the output of the following Python code?
Anonymous Quiz
14%
[ (‘first’, 100), (‘second’, 200), (‘third’, 300) ]
26%
Options: SyntaxError: invalid syntax
60%
{‘first’: 1, ‘second’: 2, ‘third’: 3}
What is the output of the following tuple operation?
Anonymous Quiz
50%
(100, 200, 400, 500)
18%
(100, 300, 400, 500)
32%
AttributeError
What is the output of this code?
Anonymous Quiz
31%
TypeError
49%
{‘Python’, 1, (‘abc’, ‘xyz’), True}
20%
{‘Python’, 1, (‘abc’, ‘xyz’)}
What is the output of this code?
Anonymous Quiz
19%
101
18%
99
28%
None of the above, this is an infinite loop
35%
100
What is the output of the following displayPerson() function call
Anonymous Quiz
37%
TypeError
47%
Emma; 25
16%
name; age