Update page 'Day 4 homework - Sloetjes'
@@ -167,7 +167,6 @@ class WaterBottle:
|
||||
|
||||
def add_tea(self, amount):
|
||||
return "You add {} grams of tea to the water.".format(amount)
|
||||
|
||||
```
|
||||
|
||||
Although it would be preferred to create a Python file that can be run under the simulator, a text specification is also acceptable. The important thing is for the object to have a consistent model of its state which accurately represents what would happen in real life when methods (verbs) are applied to it.
|
||||
Reference in New Issue
Block a user