You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: