-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
With the following test, students are often prompted with "Make sure your code works for similar inputs":
str(Rectangle((0, 0), 1, 1)) -> '((0, 0), (1, 1))'
Student's inadvertently output (top left coords), (width, height), not realizing that they should output (top left coords, bottom right coords), because in the special case where top left coords = (0, 0), these two are exactly the same.
We should make this clearer for students by changing the example to one with non-zero top left coordinates and width != height.
Metadata
Metadata
Assignees
Labels
No labels