Skip to content

Kingicey/Python-Object-and-Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Python-Object-and-Class

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages