TORONTO KIDS COMPUTER CLUB | Markham Saturday 9:30 Python Homework 20.02.29.
17151
post-template-default,single,single-post,postid-17151,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

Markham Saturday 9:30 Python Homework 20.02.29.

05 Mar Markham Saturday 9:30 Python Homework 20.02.29.

Question:
Create a Student class and make the following methods to :

  • __init__() – Initialize it with name and roll number.
  • __str__() – Display all informations 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.