diff --git a/fleet.py b/fleet.py index 796fff5..23393c4 100644 --- a/fleet.py +++ b/fleet.py @@ -66,6 +66,9 @@ class Train(GroundVehicle): def displayCarCount(self): print(self.noOfCarsAttached) + def travel(self): + print("Speed 60mph, Direction E") + Train1 = Train(20, 2) -Train.displayCarCount() \ No newline at end of file +Train1.displayCarCount() \ No newline at end of file