Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Volume of a pyramid
- #Author: NicolasF
- #Program: Pyramid volume calculator
- base = input("Enter the area of the base: ")
- height = input("Enter the height of the pyramid: ")
- volume = (base*height)/3
- print "The volume of the pyramid is: "+str(volume)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement