我正在尝试使用lazy参数构建一个格式字符串,例如我需要像:
"%s \%s %s" % ('foo', 'bar') # "foo %s bar"
我怎样才能做到这一点?
python
python ×1