name = "Xiao niu"age = 30hight = 178.50print(“我的名字是:{}\n我的年龄是:{}\n我的身高:{:.2f}”.format(name,age,hight))注意:如果需要制定精度就在花括号里面加冒号等操作 {:.2f}