Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/LinkedInLearning/learning-python-2896241
/ drive
Method
drive
Ch2 - Basics/classes_finished.py:22–24 ·
view source on GitHub ↗
(self, speed)
Source
from the content-addressed store, hash-verified
20
self.engine = enginetype
21
22
def
drive(self, speed):
23
super().drive(speed)
24
print(
"Driving my"
, self.engine,
"Car at "
, self.speed)
25
26
27
class
Motorcycle(Vehicle):
Callers
2
drive
Method · 0.45
classes_finished.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected