Python print dictionary:- How to print a word reference line by line in Python?

565    Asked by AryanKhan in Python , Asked on Mar 1, 2021
Answered by Aryan Khan

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])



Your Answer

Interviews

Parent Categories