View difference between Paste ID: sUvhrF9h and Qc8ps4cs
SHOW: | | - or go back to the newest paste.
1
#Calculating the Area of a Triangle
2
3
def triang_area():
4
  print('Proporciona la Base y Altura:')
5
  print('Base: ')
6
  b = input()
7
  print('Altura: ')
8
  h = input()
9
  area = (float(b)*float(h))/2
10
  print('El Área Es: ' + str(area))
11
12
triang_area()