All the teachers of all the classes in the school requested the school's Principal to digitalize the student marks record system. Traditionally they are using pen paper for writing the marks of students and make a paper list, which is prone to get lost and there are chances of error also. Listening to the student's perspective the principal assigned its Computer Science Teacher to implement a program for making the list which contains roll number, name, and marks of the students.
The CS teacher decided to use Python - Class for data abstraction and implemented in the this way.
Program:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer