Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions