generate functionFri, 05 May 2023

construya un algoritmo que dados como datos de la base y la altura de un triangulo, calcule e imprima el perimetro y el area

def area_triangle(base, height): area = base * height / 2 return area area_triangle(10, 5)

Questions about programming?Chat with your personal AI assistant