# Python Program to multiply two numbers using the function

In this program, you will learn how to multiply two numbers using the function in Python.

```
100 = 10 * 10
300 = 100 * 3
```

## Example: How to multiply two numbers using the function in Python.

```
def multiply(p, q):
z = p * q
return z
x = int(input("Enter first number:"))
y = int(input("Enter second number:"))
result = multiply(x, y)
print("Multiplication of two numbers:", result)
```

#### Output:

```
Enter first number:10
Enter second number:2
Multiplication of two numbers: 20
```