Printing a Python dictionary in two rows

前端 未结 0 656
旧时难觅i
旧时难觅i 2021-01-06 01:27

I want to print a Python dictionary with keys in one row and values in another row.

Example:

d = {\'a\':\'long val\', \'b\':None, \'long key\':3, \'d\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题