Question: Write a script (box.py) that determines if a point is inside of the box bounded by the points (0, 0) and (1, 1). The script
Write a script (box.py) that determines if a point is inside of the box bounded by the points
(0, 0) and (1, 1). The script should take two required arguments, an x and a y coordinate. Hint: Remember that script arguments are strings.
| Input | Output |
| 0.2 0.4 | (0.2, 0.4) is in the box. |
| -0.1 0.5 | (-0.1, 0.5) is outside the box. |
| 00 | (0.0, 0.0) is in the box. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
