python=95
english=92
c=89
sub=python-c
avg=(python+english+c)/3
print("python课程和c语言课程的分数之差:"+str(sub)+"分\n")
print("3门课的平均分:"+str(avg)+"分")
print("学号后四位是:"+str(3112))
2023-09-26 08:48:58
python=95
english=92
c=89
sub=python-c
avg=(python+english+c)/3
print("python课程和c语言课程的分数之差:"+str(sub)+"分\n")
print("3门课的平均分:"+str(avg)+"分")
print("学号后四位是:"+str(3112))