Menu

Python Programing Calculate Info Cuboid Ask Appropriate Input Length Height Width Present Q43886016

python programing

Calculate info about a cuboid Ask for appropriate input for thelength, height, and width. Then present the user with info aboutit. Include the surface area, volume, and lengths. Your programshould store all values and calculation results as variables. Onlyvariable names should be part of the print function

Example running of the program

Welcome to the Cuboid Calculator!

Please enter values in feet.

Enter the length: 5

Enter the width: 10

Enter the height: 8

Your 5 X 10 X 8 cuboid has a volume of 400 cubic feet and asurface area of 340 square feet.

Your program should work for integral (whole) numbers andfloating-point (decimal) numbers.

What I have so far.

print(“Welcome to the Cuboid Calculator!”)print(“Please enter values in feet.”)print(“Enter the length: “)length = input()print(“Enter the width: “)width = input()print(“Enter the height: “)height = input()volume = length.isnumeric() * height.isnumeric() * width.isnumeric()sArea = length * width.isnumeric()print( “Your” + length + “X” + width + “X” + height + ” cuboid has a volume of” + volume + “cubic feet and” + “a surface area of” + sArea + “square feet.”)

Expert Answer


Answer to python programing Calculate info about a cuboid Ask for appropriate input for the length, height, and width. Then presen…

OR