File size: 95 Bytes
e16247a
 
 
 
 
1
2
3
4
5
6
a = "%占位方式"
b = ".fromat占位方式"
print("这是%s"%a)
print("这是{}".format(b))