Question: Write a class student() that gets a students name, student id and mark and computes the grade. The program should ask the user to choose

Write a class student() that gets a students name, student id and mark and computes the grade. The program should ask the user to choose between writing and reading data.

In case of writing data: Add another students detail to the list. In case of Reading Data: Display the entire list.

The Grading Scale is, 94

Ex:

What do you wish to do? Read data(r) or write data(w): w Enter student name,student id,mark: x,000,90 What do you wish to do? Read data(r) or write data(w): w Enter student name,student id,mark: xx,111,40 What do you wish to do? Read data(r) or write data(w): r x's grade is A xx's grade is D 

LAB

ACTIVITY

11.11.1: LAB: Grade Calculator

0 / 5

main.py

Load default template...

class student(): def grade(self,mark): '''Write code to calculate the grade'''

if __name__ == '__main__':

'''Write code to get user inputs and print the desired output'''

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!