Update page 'Day 3 homework - Sloetjes'

xuanyi.wang
2023-04-03 20:25:02 +02:00
parent f98ee522d9
commit 031c14ccb6
+1 -1
@@ -91,7 +91,7 @@ class BoundedInt:
return str(self.i)
```
**8. Modify the template so it also supports adding a regular integer to a BoundedInt, to pass test 4. Note that you can use isinstance() to determine the class of a variable.**
**8. Modify the template so it also supports adding a regular integer to a BoundedInt, to pass test 4. Note that you can use `isinstance()` to determine the class of a variable.**
```
class BoundedInt():
def __init__(self, i, min, max):