Print column headings above the for loop that include Edge, Area, V...

Question

Print column headings above the for loop that include Edge, Area, Volume, Volume so Far, and message where message is if the edge was even or odd.

Calculate the area and volume of the figure inside a for loop that goes from 1 to 15, along with the other information that matches your column headings. “Volume so far” for row 4 would include the volumes for rows 1-4.
Let the variable ‘a’ be the edge that you control your loop with.
Do not print out row 5 or include row 5 in your calculations.

Print out the total area and total volume at the end of the for loop, which does not include row 5.
Below your totals, enter from the keyboard and print your full name, age, and major. Label your information.
Use a switch statement (or dictionary) to print out which decade you were born in. 18 would be decade 2, 31 would be decade 3, 64 would be decade 6 and so on.
Your switch or dictionary should go 1 through 10.

Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

heading = "Edge | Area | Volume | Area so Far | Volume so Far | Message"

}

volume_sum = 0
area_sum = 0

for a in range(1, 16):

if a == 5:

continue

area = (3 ** 0.5) * (a ** 2)...

By purchasing this solution you'll be able to access the following files:
Solution.py.

\$10.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Python Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.