Python
name = input("请输入你的姓名:") chinaese_score = float(input("请输入语文成绩:")) math_score = float(input("请输入数学成绩:")) ff = chinaese_score + math_score print(""" __________________ 期末考试-成绩单 __________________ """) print("姓名:" + str(name)) print("语文:" + str(chinaese_score)) print("数学:" + str(math_score)) print("语文和数学:"+ str(ff)) print("__________________ ")