bindauprety
bindauprety bindauprety
  • 23-03-2020
  • Computers and Technology
contestada

Write a program to calculate and return total surface area of a box using FUNCTION _END FUNCTION.​

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 31-03-2020

Answer:

def funct1():

   h=int(input("Enter height of the box"))

   w=int(input("Enter the width of the box"))

   L=int(input("Enter the length of the box"))

   surface_area=2*(h*w + h*L + w*L)

   return surface_area

a=funct1()

print(a)

Explanation:

Please check the answer section.

Answer Link

Otras preguntas

Select the correct answer This natural resource is present in large amounts in Britain, France, and Germany OA. iron OB. coal OC. OD natural gas Reset Next
NEED HELP WITH THESE TWO ASAP PLS
Please help.............
which of the following correctly orders the values above from least to greatest 0.075, 0.75% ,3/4
Two identical guitar strings are prepared such that they have the same length (2.17 m) and are under the same amount of tension. The first string is plucked at
Write the chemical symbols for three different atoms or atomic cations with 4 electrons.
Why was racism so big during colonial era and the Age of Reason?
Write a program that prompt the user to enter three points (x1, y1), (x2, y2), (x3,y3) of a triangle and displays its area.
1. UNDERSTANDING CHANGE How did the conflict between Native Americans and the United States change toward the end of the nineteenth century?
What is the equation of a circle with center (2, -3) and radius 3?