Which line of code in your program will change the brand to Best Sole?
class bike():
def __init__(self,brand):
self.brand = brand

def changeBrand(self,newBrand):
self.brand = newBrand

def __str__(self):
return self.style + ' ' + self.color

myBike = bike('Acme')




Answer :

Other Questions