my_used_car read_odometer(the new method increment_odometer(at takes in number of milesand adds this value to self odometer_reading at we create used carmy_used_car we set its odometer to , by calling update_odometer(and passing it at at we call increment_odometer(and pass it to add the miles that we drove between buying the car and registering it subaru outback this car has miles on it this car has miles on it you can easily modify this method to reject negative increments so no one uses this function to roll back an odometer note you can use methods like this to control how users of your program update values such as an odometer readingbut anyone with access to the program can set the odometer reading to any value by accessing the attribute directly effective security takes extreme attention to detail in addition to basic checks like those shown here try it yourse lf - number servedstart with your program from exercise - (page add an attribute called number_served with default value of create an instance called restaurant from this class print the number of customers the restaurant has servedand then change this value and print it again add method called set_number_served(that lets you set the number of customers that have been served call this method with new number and print the value again add method called increment_number_served(that lets you increment the number of customers who've been served call this method with any number you like that could represent how many customers were served insaya day of business - login attemptsadd an attribute called login_attempts to your user class from exercise - (page write method called increment_ login_attempts(that increments the value of login_attempts by write another method called reset_login_attempts(that resets the value of login_ attempts to make an instance of the user class and call increment_login_attempts(several times print the value of login_attempts to make sure it was incremented properlyand then call reset_login_attempts(print login_attempts again to make sure it was reset to classes