📜  python print dict new line - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:23.996000             🧑  作者: Mango

代码示例1
print("{" + "\n".join("{!r}: {!r},".format(k, v) for k, v in d.items()) + "}")