## Area of triangle in Python

### Description

```Python program to get base width and height of triangle and find area of triangle
Sample Input 1:
4
5
Sample Output 1:
10
```

### Solution

```b=int(input("Enter the base:"))
h=int(input("Enter the height:"))
area=(b*h)/2
print("Area: {}".format(area))
```

### Explanation

```get height and base of a triangle using input() method
calculate area = height * base```

#### Author - Ramesh P Natarajan

Learner, Professor, Technology Trainer, Software Developer and Content Marketer, very much passionate in the field of Software Application Development, Machine Learning and Search Engine Optimization.

### Interesting Pattern Programs: for more Patterns

```Input:
5
Output:
*
**
***
****
*****
****
***
**
*Solution```
```Input:
5
Output:
*
***
*****
*******
*********
*******
*****
***
*Solution```
```Input:
5
Output:
*        *
**      **
***    ***
****  ****
**********Solution```
```Input:
5
Output:
*       *
**     **
***   ***
**** ****
*********Solution```
```Input:
5
Output:
*       *
**     **
***   ***
**** ****
*********
**** ****
***   ***
**     **
*       *Solution```
```Input:
5
Output:
*********
*******
*****
***
*
***
*****
*******
*********Solution```