## Multiply without * operator in Python

### Description

```Python program to get two inputs  num1 and num2, compute the product of num1 and num2 without using  * operator
Input:
5
6
Output:
30```

### Solution

```num1=int(input("Enter first number:"))
num2=int(input("Enter Second number:"))
product=0
for i in range(0,num2):
product+=num1
print(product)

```

### Explanation

```Insteaded multiply num1 and num2, just add num1 for num2 times.
For Example:
num1 =4 and num2 = 3
4+4+4=12.```

#### 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```