Trying to write a program to find the cost of the volume of water in a pool in cents Keep getting hung up on volume and answer and can't figure out what I'm doing wrong. Any help would be great. These are the equations I'm using.
Volume in cubic feet = length * width * height
Cost = cost per cubic feet * Volume in cubic feet
#Assignment 1, Python, Run 1
length = float(input("Please enter the length of the pool in feet:"))
width = float(input("Please input the width of the pool in feet:"))
height = float(input("Please input the height of the pool in feet:"))
cost = float(input("Please enter the cost of water in cents per cubic foot:"))
volume = [length*width*height]
answer = [cost*volume]