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

686    Asked by KobayashiSasaki in Python , Asked on Mar 4, 2021
Answered by Kobayashi Sasaki

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