Update page 'Day 3 homework - Sloetjes'
@@ -42,7 +42,7 @@ class BoundedInt():
|
||||
**6. Modify the template to pass test 2, which checks that:**
|
||||
|
||||
* Your class implements the + operator.
|
||||
* * It throws ValueError when attempting to add another BoundedInt that would exceed self.max.
|
||||
* It throws ValueError when attempting to add another BoundedInt that would exceed self.max.
|
||||
|
||||
```
|
||||
class BoundedInt:
|
||||
Reference in New Issue
Block a user