Answer:
10
Step-by-step explanation:
# A class named car is created
# There are two variables in the class, model and age.
# model is a string holding value for the model of the car.
# age is an integer holding value for the age of the car.
class car:
model = '' # model is initialized as empty string
age = 0 # age is initialized as 0
myCar = car() # creating a car object named myCar
myCar.age= myCar.age + 10 # the value of the age is updated by adding 10. (Note that myCar was our object. If we want to access any properties of the object, we type the object name, . , and the property name. Initially, age was 0, we added 10 to it and it becomes 10)
print(myCar.age) #prints the age of the myCar object, 10