一,代码: fat = float(input("请输入父亲的身高:\n")) mon = float(input("请输入母亲的身高:\n")) son = (fat + mon)*0.54 print("预测儿子的身高为:", son) 二,运行截图: