the simplest way to modify the value of an attribute is to access the attribute directly through an instance here we set the odometer reading to directlyclass car()--snip-my_new_car car('audi'' ' print(my_new_car get_descriptive_name() my_new_car odometer_reading my_new_car read_odometer(at we use dot notation to access the car' odometer_reading attribute and set its value directly this line tells python to take the instance my_new_carfind the attribute odometer_reading associated with itand set the value of that attribute to audi this car has miles on it sometimes you'll want to access attributes directly like thisbut other times you'll want to write method that updates the value for you modifying an attribute' value through method it can be helpful to have methods that update certain attributes for you instead of accessing the attribute directlyyou pass the new value to method that handles the updating internally here' an example showing method called update_odometer()class car()--snip- def update_odometer(selfmileage)"""set the odometer reading to the given value ""self odometer_reading mileage my_new_car car('audi'' ' print(my_new_car get_descriptive_name() my_new_car update_odometer( my_new_car read_odometer(the only modification to car is the addition of update_odometer(at this method takes in mileage value and stores it in self odometer_reading at we call update_odometer(and give it as an argument (corresponding classes