Question: Python Programming Assignment Animal Pens Overview In this assignment, the student will write a Python script that uses mathematical assignments to solve a geometry problem.

Python Programming Assignment Animal Pens

Overview

In this assignment, the student will write a Python script that uses mathematical assignments to solve a geometry problem.

When completing this assignment, the student should demonstrate mastery of the following concepts:

General Python Programming Structure (Functions)

Mathematical Assignments

Mathematical Operators (+, -, *, /, %, **)

Geometric Modeling

User Interface Design Console Prompting

Assignment

The following layout is given for an animal housing facility with undermined dimensions for the following labeled areas:

Although the exact lengths are unknown, the spacial layout of the facility will model this diagram exactly.

Write a Python script that prompts the user for the cow-height, cow-length, rhino-height, rhino-length, turtle-height, turtle-length, and bird-radius. After storing these values, perform whatever intermediate mathematical calculations are necessary to display information about the area and perimeter for the Rhino Common Ground, Moo Cow Pen, Turtle Petting Area, and Bird Cage. Additionally, calculate and display the collective area and perimeter for the entire complex.

Properly document your solution and provide the user with a clean, intuitive interface.

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!