It does not give output, I don’t know what to do and it is very frustrating.
It tried a simple code and tapped run, but it gave no output instead it showed process finshed with exit code zero.
Please help me. It really messing with me.
class car:
def getSpeed(self):
print("155 mph")
bmw = car()
ford = car()
car.getSpeed(bmw)
car.getSpeed(ford)
bmw.getSpeed()
ford.getSpeed()
New contributor
Daniel Ajayi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.