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

56 is 70 percent of what number
How did the French revolution affect the rest of europe?
factor the polynomial 64x^3-125
olivia goes to egypt and saw a model of a pyramid. She enlarged it using a scale factor of 1.2. What will be the perimeter and area of the new triangle pyramid?
A 15kg block has a constant acceleration of 2.2m/s^2 down a 30 degree incline what is the magnitude of the friction force on the block
1.2k+2.4 Factor out the coefficient of the variable and find the greatest common factor
What does the term adaptation mean? How does adaptation explain the patterns of distribution of plant and animal species in the world? please help me!
Which is an example of an organism? soil,  iceberg , mold  or  molehill
Is a human skin cell prokaryotic or eukaryotic?
Write the equation for 5x + 2y = 3 in slope-intercept form.