Box Volume
Volume tells us how much space a box, room, or container takes up. Write a function get_volume_of_cuboid that takes length, width, and height. Return the volume of the cuboid by multiplying the length by the width and the height.
Примеры
Ввод
2, 5, 2Вывод
20Ввод
4, 4, 4Вывод
64Ввод
1, 1, 1Вывод
1Нужно реализовать
def get_volume_of_cuboid(length: int, width: int, height: int) -> int:
Теги
math
Idħol biex tara l-istorja tas-sottomissjonijiet
IdħolIdħol biex tuża l-Mentor tal-AI
IdħolVisible tests
1
Input
2, 5, 2Expected
202
Input
4, 4, 4Expected
643
Input
1, 1, 1Expected
14
Input
10, 2, 1Expected
205
Input
3, 3, 3Expected
276
Input
7, 100, -2Expected
-1400Focus radio
Paused · SomaFM · Fluid