#formate函数
year="虎"
name="老林"
message_contacts="""金{year1}贺岁
金{year1}敲门
给{name1}及家人拜年了""".format(year1=year,name1=name)
print(message_contacts)
#contral+z返回上一级
#formate函数
year="虎"
name="老林"
message_contacts="""金{year1}贺岁
金{year1}敲门
给{name1}及家人拜年了""".format(year1=year,name1=name)
print(message_contacts)
#contral+z返回上一级