What will this code output?
Anonymous Quiz
18%
[(‘first’, 100), (‘second’, 200), (‘third’, 300)]
18%
Options: SyntaxError: invalid syntax
64%
{‘first’: 1, ‘second’: 2, ‘third’: 3}
What is the output of the set operation
Anonymous Quiz
28%
{‘Yellow’, ‘Orange’, ‘Red’, ‘Black’, ‘Green’, ‘Blue’}
41%
{‘Yellow’, ‘Orange’, ‘Black’, [“Blue”, “Green”, “Red”]}
31%
TypeError: update() doesn’t allow list as a argument.
Please select all correct ways to empty the dictionary
Anonymous Quiz
26%
del student
13%
del student[0:2]
61%
student.clear()
👎1
In Python3, Whatever you enter as input, the input() function converts it into a string
Anonymous Quiz
80%
True
20%
False
What is the output of the display_person() function call
Anonymous Quiz
38%
TypeError
42%
Emma; 25
21%
name; age
What is the output of the following
Anonymous Quiz
33%
(‘Yellow’, 20, ‘Red’)
27%
TyepeError
40%
Yellow
What is the output of the display() function call
Anonymous Quiz
25%
TypeError
27%
Kelly; 9000
34%
(’emp’, ‘Kelly’); (‘salary’, 9000)
14%
emp; salary
Choose the correct function declaration of fun1() so that we can execute the function call successfully
Anonymous Quiz
23%
def fun1(**kwargs)
20%
No, it is not possible in Python
23%
def fun1(args*)
33%
def fun1(*data)
👍1