Update page 'Day 7 homework - Sloejtes'

xuanyi.wang
2023-04-13 00:37:56 +02:00
parent cccb98111b
commit fd7fc5e068
+3 -3
@@ -23,7 +23,7 @@ Duration: 0.01s, Mean: 12103232.93 ns, Max: 12948458 ns, Min: 10101042 ns
Duration: 0.1s, Mean: 103480802.47 ns, Max: 107881250 ns, Min: 100116125 ns Duration: 0.1s, Mean: 103480802.47 ns, Max: 107881250 ns, Min: 100116125 ns
Duration: 1s, Mean: 1003430530.03 ns, Max: 1005073459 ns, Min: 1000114667 ns Duration: 1s, Mean: 1003430530.03 ns, Max: 1005073459 ns, Min: 1000114667 ns
``` ```
###### Visualization of the jitter: **##### Visualization of the jitter:**
``` ```
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
@@ -148,8 +148,8 @@ class Bike(Vehicle):
* The `Car` and `Bike` classes inherit from `Vehicle` and define the non-abstract methods and properties that are specific to each object. The `num_wheels` property and `start` method are implemented differently in each class. * The `Car` and `Bike` classes inherit from `Vehicle` and define the non-abstract methods and properties that are specific to each object. The `num_wheels` property and `start` method are implemented differently in each class.
##### Implementation: **##### Implementation:
**
``` ```
obj_car=Car() obj_car=Car()
obj_bike=Bike() obj_bike=Bike()