What you are doing will only work for a right angled triangle, regardless, i agree with @BuddyBoblll that you need to type a number.
Instead of using the (height*base/2) formula, you can use the Heron's formula, which will need only one or two additional lines of code. Furthermore, it will find area for all types of triangles, and is not restricted to right angled ones.
# Three sides of the triangle is a, b and c:
a = float(input('Enter first side: '))
b = float(input('Enter second side: '))
c = float(input('Enter third side: '))
# calculate the semi-perimeter
s = (a + b + c) / 2
# calculate the area
area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
print('The area of the triangle is %0.2f' %area)
The output that i am getting for this code is:
Enter first side: 5
Enter second side: 12
Enter third side: 13
The area of the triangle is 30.00
- Side note, i am working on mac osx on a Python 3.8.0 version.