范例 %s 为占位符, % 号为连接符 s代表string d代表digit f 代表 float(小数)
name = input("Name:")
age = input("Age:")
job = input("Job:")
hometown = input("Honetown:")
# print("--------info of",name,‘----‘)
# print(‘Name:‘,name)
# print("Age:",age)
# print ("Job:",job)
# print("--------end----")
info = """
-------- info of %s --------
Name: %s
Age: %s
Job: %s
Hometown: %s
----------end----------
""" %(name,name,age,job,hometown)
print(info)