Question: Write a program, stored in a file named boundary.py , that performs the following tasks: Prompts the user to input the name of a text

Write a program, stored in a file named boundary.py, that performs the following tasks:
Prompts the user to input the name of a text file assumed to be stored in the working directory. We
assume that if the name is valid then the file consists of lines all containing 4 integers separated by
whitespace, of the form x1 y1 x2 y2 where (x1, y1) and (x2, y2) are meant to represent the
coordinates of two opposite corners (lower left and upper right) of a rectangle. With the provided
file rectangles_1.txt, the rectangles can be represented as follows

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!