一个python新手问题:
我想用带有参数列表的 c 格式在 python 中打印:
agrs = [1,2,3,"hello"] string = "This is a test %d, %d, %d, %s"
如何使用 python 打印:
这是一个测试 1, 2, 3, 你好
谢谢。
python printf string-formatting
printf ×1
python ×1
string-formatting ×1