How to calculate the surface area of cuboid in Python

1 Answer

0 votes
length = 6
width = 3
height = 4
         
surfacearea = 2 * (length * width + width * height + height * length)
         
print("Surface Area of Cuboid is =", surfacearea)

 
 
  
'''
run:
  
Surface Area of Cuboid is = 108
  
'''

 



answered Sep 9, 2021 by avibootz
...