Update page 'Day 3 homework - Sloetjes'
@@ -20,7 +20,7 @@ class BoundedInt():
|
|||||||
|
|
||||||
**4. What do you think the types of x and y are? Guess, without checking first. What are they, actually? You can use the debugger's local window to find out.**
|
**4. What do you think the types of x and y are? Guess, without checking first. What are they, actually? You can use the debugger's local window to find out.**
|
||||||
|
|
||||||
#### Answer: Based on the documentation, I guess that x and y are likely to be any type of objects that define the corresponding binary arithmetic methods such as add(), sub(), mul(), etc.
|
###### Answer: Based on the documentation, I guess that x and y are likely to be any type of objects that define the corresponding binary arithmetic methods such as add(), sub(), mul(), etc.
|
||||||
|
|
||||||
**6. Modify the template to pass test 2, which checks that:**
|
**6. Modify the template to pass test 2, which checks that:**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user