大学可以申请助学贷款,申请额度不超过学费和生活费总额的60%,输入你每个月的生活费(浮点数),请计算你每个学期能够贷款多少元?(结果保留小数点后2位数字,每个学期按5个月计算)。Python=3math=4english=4physical=2military_theory=2philosophy=2
python = 3
math = 4
english = 4
physical = 2
military_theory = 2
philosophy = 2
a=int(input())
b=float(input())
n=a*(python+math+english+physical+military_theory+philosophy)
c=0.6*(b*5+n)
print("本学期你能够贷款{:.2f}元".format(c))
这个不回了吗