Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/LinkedInLearning/learning-python-2896241
/ drive
Method
drive
Ch2 - Basics/classes_finished.py:37–39 ·
view source on GitHub ↗
(self, speed)
Source
from the content-addressed store, hash-verified
35
self.engine = enginetype
36
37
def
drive(self, speed):
38
super().drive(speed)
39
print(
"Driving my"
, self.engine,
"motorcylce at "
, self.speed)
40
41
42
car1 = Car(
"gas"
)
Callers
nothing calls this directly
Calls
1
drive
Method · 0.45
Tested by
no test coverage detected