Search for question
Question

Please find attached the template for assignment 2 (F2F Cohort)/ assignment 4 (Online

cohort).

You should not modify Point.py.

There are 5 methods to complete in Line.py and 3 methods to complete in Polygon.py,

each carrying the same amount of marks. (USE ANY SINGLE METHOD TO

COMPLETE THIS WORK)

Researching the domain of the problem, in this case, geometrical construction is a part

of the problem, and hence we will not give direct links to websites or other resources that

will be useful. Instead, our suggestion is to perform relevant searches to reach these

resources. For example, "determining if two lines are parallel" will help you figure out the

logic behind the parallel function in the Line class.

A sample client and its expected output are provided in Client.py and

expected_output.txt.

unit tests will NOT be provided for this assignment and students are encouraged to write

their own unit tests

DO NOT zip the folder during submission. Drag and drop the following files ONLY:

1. Line.py

2. Polygon.py

Submitting files with incorrect names will result in a program that cannot be executed

and will get an automatic zero. Even a small degree of incorrectness in the file names

will result in a zero. So, "line.py", "Line (1).py" and so on will all cause an overall zero in

the entire assignment. Also, if one file is correct, but the other is not, we will run the unit

tests and the mark of the unit tests, whatever that is, will be applied. So make sure you

submit the right files with the right names.

Once you submit the files, it should show "Line.py" and "Polygon.py" as the files that

have been submitted.