Write a python program that reads the length of the base and the height of a right-angled triangle and prints the area. Every number is given on a separate line.
Write a python program that reads the length of the base and the height of a right-angled triangle and prints the area. Every number is given on a separate line.
Codebase = int(input("Input base size :"))
height = int(input("Input height size :"))
area = 0.5*base*height
print(area)
sample output
input:3
5
output:
7.5