标签:nts error style 参数 错误 orm att for 地方
print ("So, you‘re 5r old, %r tall and %r heavy." % (age, height, weight))
print ("So, you‘re %r old, %r tall and %r heavy." % (age, height, weight))
说明前后%和后面的参数数量不对应.红色就是错误的地方。
TypeError: not all arguments converted during string formatting
标签:nts error style 参数 错误 orm att for 地方
原文地址:http://www.cnblogs.com/kaid/p/7992191.html