标签:style blog color os ar for sp div on
>>> d = {‘a‘:1}
>>> print ‘%s‘ % 1,d
1 {‘a‘: 1}
>>> print ‘%s %s‘ % 1,d
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: not enough arguments for format string
标签:style blog color os ar for sp div on
原文地址:http://www.cnblogs.com/ghgyj/p/3997577.html