错误提示, 求解答
age=input("input your age")
name=input('name')
print(
"name-is %s age-is %03d " %(name,age))
错误提示, 求解答
Traceback (most recent call last):
File "G:/win8164/Desktop/2.py", line 5, in <module>
"name-is %s age-is %03d " %(name,age))
TypeError: %d format: a number is required, not str