What Is Wrong With It !
If you look at the indentation of the drive_car() method in your class. You are declaring out side of the class. Just indent the def drive_car() method header and adjust the body accordingly.
i got the correct way
thanks bro <3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.