basic constructions the vertices ("corners"of the polygon have coordinates / /:xn yn /numbered either in clockwise or counter clockwise fashion the area of the polygon can amazingly be computed by just knowing the boundary coordinates xn yn xn yn xn yn / write function polyarea(xythat takes two coordinate arrays with the vertices as arguments and returns the area assume that and are either lists or arrays test the function on trianglea quadrilateraland pentagon where you can calculate the area by alternative methods for comparison hint since python lists and arrays has as their first indexit is wise to rewrite the mathematical formula in terms of vertex coordinates numbered as xn and yn filenamepolyarea py exercise average of integers write program that gets an integer from the user and computes the average of all integers the computation should be done in function that takes as input parameter print the result to the screen with an appropriate text run the program with and confirm that you get the correct answer filenameaverage_ _to_n py