Python print dictionary:- How to print a word reference line by line in Python?
To get the ideal output that you need for yourself you can utilize the accompanying code:-
for x in cars:
print (x)
for y in cars[x]:
print (y,':',cars[x][y])