Create a class called Cohort which has a constructor that takes as parameters the values to initialize the below variables:
students # a list of student names name # a string for the name of the Cohort
The class should have the below method:
addStudent
This method adds a new student to the list students.
Reviews
There are no reviews yet.