This document is a Python script that calculates the average of five subject marks input by the user. Based on the average, it assigns a grade from A to E, with A for averages above 90 and E indicating a fail. The script uses conditional statements to determine the appropriate grade based on the calculated average.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
0 views1 page
Program
This document is a Python script that calculates the average of five subject marks input by the user. Based on the average, it assigns a grade from A to E, with A for averages above 90 and E indicating a fail. The script uses conditional statements to determine the appropriate grade based on the calculated average.