errorType / 30.py
Beuys's picture
Upload 47 files
e16247a verified
raw
history blame contribute delete
261 Bytes
a = 100
b = 100.123
c = "this is string"
#错误写法:参数与占位符类型顺序不对应
#print("this is int type:%d,this is float type:%.3f, this is str type:%s"%(b,a,c))
print("this is int type:%d,this is float type:%.3f, this is str type:%s"%(a,b,c))