Creating Dictionaries Quiz
Question 1 of 80% Complete
What is the correct syntax for creating a dictionary with literal notation?
{'name': 'John', 'age': 25}
'name': 'John', 'age': 25
('name': 'John', 'age': 25)
{name: John, age: 25}
What is the correct syntax for creating a dictionary with literal notation?
{'name': 'John', 'age': 25}
'name': 'John', 'age': 25
('name': 'John', 'age': 25)
{name: John, age: 25}