22 May PMCA Saturday 18:30 Python Homework 20.05.16
Posted at 00:24h in Uncategorized 0 Comments
Create a Student class and make the following methods to :
- __init__() – Initialize it with name and roll number.
- __str__() – Display all information of the student.
- setAge() – It should assign age to student.
- setMarks() – It should assign marks to the student.
Sorry, the comment form is closed at this time.