score_short_run = int(input('请输入学生的短跑成绩:')) score_jump_rope = int(input('请输入学生的3分钟跳绳成绩:')) score_long_jump = int(input('请输入学生的跳远成绩:'))

total_score = int(score_short_run * 0.4 + score_jump_rope * 0.3 + score_long_jump * 0.3)

print('学生的体育测试总评成绩为:', total_score)

Python程序计算学生体育测试总评成绩

原文地址: https://www.cveoy.top/t/topic/lRrZ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录