TORONTO KIDS COMPUTER CLUB | PMCA Saturday 18:30 Python Homework 20.05.16
17535
post-template-default,single,single-post,postid-17535,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

PMCA Saturday 18:30 Python Homework 20.05.16

22 May PMCA Saturday 18:30 Python Homework 20.05.16

Question:
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.
No Comments

Sorry, the comment form is closed at this time.