Advanced Grade System (Need Help)

WBOY
Release: 2024-07-27 20:49:23
Original
1021 people have browsed it

Advanced Grade System (Need Help)

Scenario: A school uses a detailed grading system that adjusts a student's grade based on participation and assignments completed, along with the test scores:

The base grade is calculated from the test score: A (90-100), B (80-89), C (70-79), D (60-69), F (below 60).
If a student's participation is in the top 10%, add one grade level to their base grade (B becomes A).
If fewer than 70% of assignments are completed, drop one grade level from their base grade (B becomes C).
Task: Write a Python script that inputs the student's test score, participation percentile, and assignment completion rate (percentage), then calculates and prints the final grade

The above is the detailed content of Advanced Grade System (Need Help). For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!