Print the dogs list that has two dictionaries inside it; your output must be the same as the Sample output.
You can use the pprint() method or the PrettyPrinter constructor. Please, don't change the variable.
Print the dogs list that has two dictionaries inside it; your output must be the same as the Sample output.
You can use the pprint() method or the PrettyPrinter constructor. Please, don't change the variable.
Sample Input 1:
Sample Output 1:
[ { 'age': 1,
'breed': 'Yorkshire',
'name': 'Max',
'owners': [ 'Susan, '
'Camila, '
'Paul']},
{ 'age': 4,
'breed': 'Bulldog',
'name': 'Duke',
'owners': [ 'Thomas, '
'David, '
'Lucia']}]Create a free account to access the full topic