Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 547 Bytes

Volume_of_a_Cuboid.md

File metadata and controls

35 lines (18 loc) · 547 Bytes

CodeWars Python Solutions


Volume of a Cuboid

Bob needs a fast way to calculate the volume of a cuboid with three values: length, width and the height of the cuboid. Write a function to help Bob with this calculation.


Given Code

def getVolumeOfCubiod(length, width, height):
    # Code goes here...

Solution

def getVolumeOfCubiod(length, width, height):
    return length * width * height

See on CodeWars.com