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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!