A string was initialized when creating an instance of Student for the name An integer was created initialized when creating an instance of Student for the age A list of strings, was initialized when creating an instance of the Student for the track. A float, was initialized when creating the instance of Student for the score. The following methods for class “Student” were created: change_name: Change students name, should accept a new name as an argument. Change_age: Change students' age, should accept a new age as an argument. Should ensure age remains an integer. Add_track: Add a new item to students tracks, should accept a new track as an argument. get_score: Return student’s score.
Kingicey/Python-Object-and-Class
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.