Update page 'Day 3 homework - Sloetjes'

xuanyi.wang
2023-04-03 20:13:20 +02:00
parent e07b81f919
commit 265d0dd356
@@ -42,7 +42,7 @@ class BoundedInt():
**6. Modify the template to pass test 2, which checks that:** **6. Modify the template to pass test 2, which checks that:**
* Your class implements the + operator. * 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: class BoundedInt: