Create a Python script that calculates the area of a triangle by taking the base and height as user input.
base = 10, height = 14
base = float(input('Enter the base:'))
height = float(input('Enter the height:'))

def areaOfTriangle(base, height):
 return 0.5 * base * height

print(areaOfTriangle(base, height))