leetle

Daily challenge for 2025-07-21

202. Calculate Triangle Area

Write a function solve that calculates the area of a triangle given its base and height. The formula is Area = (base * height) / 2.

Example:
Input: base = 10, height = 5
Output: 25.0

Run this challenge interactively in Python or JavaScript when the app loads.