object is automatically assigned to the self parameterand inside the constructor methodwe can now assign the necessary attributes to the object the python statement annesacc account( "anne"triggers the following steps new object is created from the account class and assigned to the variable annesacc the constructor method of the account class is called in this stepthe newly created object is assigned to the self parameter of the constructor method so technicallypython executes account init (annesacc "anne" inside the constructor methodthe new object is initialized (the attributes are set to the given or default valuesin pythonconstructor methods do not create an object you can imagine that the creation of an object happens 'under the hoodand the constructor method then just initializes the attributes of the object (but this is rather technical detail just remember that the init (selfmethod is executed right after an object has been created class design generallywhen designing classyou have to ask yourself the following questions how can describe the state of my objectthis will result in some attributes what do know about the object before/when creating itthis goes into the constructor method what operations that change the object' attributes will be performed on the objectthese operations need to be implemented as instance methods when designing the account classthe answers to the above questions are as follows the state of an account is described by its account numberaccount holder and the current balance when creating an accounti know the new account number and the holder' name the default balance of an account is we pass the account number and the holder' name to the constructor methodand set the default balance to we will change the balance attribute of the account when withdrawing or depositing money alsoa method that prints out all information we have about the state of the account is useful annemarie friedrichcis lmu munchenws /