week-5 #6

Merged
Kenwood merged 12 commits from week-5 into master 2021-02-08 00:20:27 -05:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 3d2870eb2c - Show all commits

9
5/5.3/5.3.3/main.py Normal file
View File

@ -0,0 +1,9 @@
def pyramid_volume(base_length, base_width, pyramid_height):
return(((base_length * base_width) * pyramid_height) * (1/3))
length = float(input())
width = float(input())
height = float(input())
print('Volume for 4.5, 2.1, 3.0 is:', pyramid_volume(length, width, height))