标签:
格式化输出
name=input("input your name:")
age=int(input("input your age:"))
job=input("input your job:")
msg=‘‘‘
----------------
Name: %s
Age : %d
Job : %s
-----end---------
‘‘‘ %(name,age,job)
print(msg)
标签:
原文地址:http://www.cnblogs.com/zhanggs/p/5606113.html