Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

n this program, you will print out ascii art of the USS Arizona (pictured above). Name your program arizona.py. Your program should ask the user

n this program, you will print out ascii art of the USS Arizona (pictured above). Name your program arizona.py. Your program should ask the user for three numbers: the boat outer length, the inner length (length between the two towers) and the tower height. The outer length will increase the length of the vessel on either side of the towers/guns, and equal amount. The middle length will control the length of the ship between the two main towers. (Note that in the rest of the spec, the length may be referred to as width). As you might expect, the last input will control the height of the two main towers of the ship. Below is a diagram showing what component of the vessel each input value determines.

The house shown in the image has a side width of 7, a middle width of 4, and a tower height of 2. When the width of the sides increase, it actually increases by more than one character in total. It actually increases by 1 character on each side. For the middle, the width actually increases by 2 characters for each 1 width. Take a look at the pattern of the vessel between the two towers. The height of the towers changes in accordance with the third input value.

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

Transactions On Large Scale Data And Knowledge Centered Systems Iv Special Issue On Database Systems For Biomedical Applications Lncs 6990

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Christian Bohm ,Johann Eder ,Claudia Plant

2011th Edition

3642237398, 978-3642237393

More Books

Students also viewed these Databases questions