Created
November 22, 2020 02:41
-
-
Save mcsee/47847ea77875bb6f6e5e1cba2e914b05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class car: | |
def __init__(self,company,color,engine): | |
self._company = company | |
self._color = color | |
self._engine = engine | |
def goTo(self, coordinate): | |
self.move() | |
def startEngine(self): | |
## code to start engine | |
self.engine.start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment