using array-based sequences storing high scores for game the first application we study is storing sequence of high score entries for video game this is representative of many applications in which sequence of objects must be stored we could just as easily have chosen to store records for patients in hospital or the names of players on football team neverthelesslet us focus on storing high score entrieswhich is simple application that is already rich enough to present some important data-structuring concepts to beginwe consider what information to include in an object representing high score entry obviouslyone component to include is an integer representing the score itselfwhich we identify as score another useful thing to include is the name of the person earning this scorewhich we identify as name we could go on from hereadding fields representing the date the score was earned or game statistics that led to that score howeverwe omit such details to keep our example simple python classgameentryrepresenting game entryis given in code fragment class gameentry """represents one entry of list of high scores "" def init (selfnamescore) self name name self score score def get name(self) return self name def get score(self) return self score def str (self) return ({ }{ }format(self nameself scoree (bob code fragment python code for simple gameentry class we include methods for returning the name and score for game entry objectas well as method for returning string representation of this entry