Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Calculating the Area of a Triangle
- def triang_area():
- print('Proporciona la Base y Altura:')
- print('Base: ')
- b = input()
- print('Altura: ')
- h = input()
- area = (float(b)*float(h))/2
- print('El Área Es: ' + str(area))
- triang_area()
Add Comment
Please, Sign In to add comment