Logo 
Search:

Python Forum

Ask Question   UnAnswered
Home » Forum » Python       RSS Feeds

Need urgent help !

  Asked By: Krisstine    Date: Jan 27    Category: Python    Views: 865
  

can anyone help me to solve this problem as im still new to Python. Tq

1. Read all the marks from the List, apply the following Grade rules and then display the mark and the respective grades as follow

mark for 23 students (75, 45, 89, 55, 65, 50, 72, 70, 60, 80, 95, 34, 83, 71, 65, 53, 58, 79, 85, 21, 67, 94,77)
0-49 - U
50-59- D
60-69 - C
70-79- B
80-89- A
90-100- A*

the output should be displayed as follows ;
Mark [0] - 75 - B
Mark [1] - 45 - U
Mark [2] - 89 - A
......

2. Also count how many total number of grade A*, A grades, B grades, C grades, D grades and U grades and display on to the screen as follow:

Grade A* - 2
Grade A - 4
Grade B - 6
.....

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Need urgent help ! Or get search suggestion and latest updates.




Tagged: