Multiple Choice
Which of the following assigns a dictionary list of keys and values to the variable named persons?
A) persons = ["Sam":"CEO", "Julie":"President"]
B) persons = ("Sam":"CEO", "Julie":"President")
C) persons = {"Sam":"CEO", "Julie":"President"}
D) persons = {["Sam", "CEO"], ["Julie", "President"]}
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q27: In order to create a docstring for
Q28: The definition of the main function and
Q29: The index of the last item in
Q30: Although a list's elements are always ordered
Q31: Each item in a list has a
Q33: In scripts that include the definitions of
Q34: The list method ascending mutates a list
Q35: When a Python script is running as
Q36: To prevent aliasing, a new object can
Q37: In a Python dictionary, an association is