although you must specify self explicitly when defining the methodyou don' include it when calling the method python passes it for you automatically defining methodcalling method(this code inside class definition def set_age(selfnum)self age num set_age(