收起
你这道题里学分是固定的啊
score={'Python':3,'高等数学':4,'大学英语':4,'大学体育':2,'军事理论':2,'哲学':2} total_score=sum(score.values()) yuan=eval(input()) print(f'你本学期选修了{total_score}个学分。') print(f'你应缴纳的学费为{yuan*total_score}元。')
报告相同问题?