print('%s is (%d+10) years old' % ('Joe', 42))
输出:Joe(42 + 10)岁
预期产量:Joe今年52岁
python string python-3.x
python ×1
python-3.x ×1
string ×1