Question: in python 3.0 please Question 2 Given the length and the width of a soccer field, in yards, calculate the area, perimeter and the diagonal

in python 3.0 please in python 3.0 please Question 2 Given the length and the width

Question 2 Given the length and the width of a soccer field, in yards, calculate the area, perimeter and the diagonal of the field in metres. Make sure that the length, width, area, perimeter and the diagonal (computed using the square root and power functions from the math library) of the field are printed with only 2 decimal places. Call the file containing your program fieldStats.py. Sample input (shown in blue) and output from the program is as follows: Enter the length of the field in yards: 120.3 Enter the width of the field in yards: 82.02 The length of the field is 110.00 metres. The width of the field is 75.00 metres. The area of the field is 8250.07 sq. metres. The perimeter of the field is 370.00 metres. The diagonal of the field is 133.14 metres

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!