Computer Science, asked by js861298, 4 months ago

Write a function called calculate_area() that take base and height as an input argument and return an area of triangle as an output

Answers

Answered by chaithanyakapuluru
1

Answer:

def calculate_area(b,h):

       ans=(1/2)*b*h

        return ans

print(calculate_area(b,h))

Explanation:

the provided code is as per python .

python is case sensitive and intendation is nessesory .

hope you got the answer . if so rate the ans and provide thaks,brainliest.

Similar questions