Question: can i get help in python. im a beginner. thanks i will leave a like spumg 2020 General information/requirements/grading rules 1. Adhere to the naming
can i get help in python. im a beginner. thanks i will leave a like spumg 2020 General information/requirements/grading rules 1. Adhere to the naming conventions discussed in class for variable names, program names, and function names 2. For the program name first letter of each word uppercase. For example, StringBasics.py 3. Use meaningful names for variables. Do not just use letters. Eg, use word "payment" instead of just the letter 'p' Use "futureValue" instead of FV or fv 4. If there are multiple words in the variable name, use camel case notation Eg., firstName, shipping Cost 5. Include proper comments in the code 6. Display output exactly as mentioned against each problem 7. Use def main function for all programs 8. Indent the lines of code appropriately 1) Volume.py (15 Points) The shape of a can is shown in the figure below. It has two cylinders of radius r1 and r2 and heights h1 and h2, joined by a cone section of height h3. -- - Using the formula for the volume of a cylinder, V = arh, and a cone section, (r12 + r1r2+r22h V = 3 write a program to compute the volume of the bottle. Spring 2020 MIS 15 Seek user input for h1, h2, h3, r1, and r2. Expected output Enter r1(in inches): 8.4 Enter r2(in inches): 4.5 Enter h1(in inches): 5 Enter h2in inches): 3 Enter h3(in inches): 4 Bottom radius: 8.40 Inches Top radius: 4.50 Inches Height of bottom cylinder: 5.00 Inches Height of top cylinder: 3.00 Inches Height of cone: 4.00 Inches
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
