class Car:
def init(self,model,mileage):
self.model=model
self.mileage=mileage
def str(self):
return “{} gives {}”.format(self.model,self.mileage)
def len(self):
return
How do I define len such that later when I do len(obj) it returns the length of the string produced by str(obj)?