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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started