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

List three impulse goods that you or someone you know has purchased
explain the shift of power from kings to nobles during the middle ages
What changes occurred in Japan in the 1920's?
Forces come in pairs. What are these pairs called ?
what word describes a female human carrying an embryo
how are both the genes and the environment determine how tall a person will be?
does a trapezoid have exactly one pair of congruent sides sometimes, always, never
Sara cut off 1/8 of a 48-inch piece of ribbon. Jane cut off 1/9 of a 36-inch piece of ribbon. They compared their cut pieces. Whose piece is longer? How much lo
What digit appears in the units place in the number obtained when 2^320 is multiplied out?
What advantages did the geography and climate give to people living in the Middle Colonies