Write a Python program to find the factorial of the given number.
Here is a Python program to find the factorial of a given number:

```
n = int(input("Enter a number: "))
factorial = 1

if n < 0:
  print("Factorial does not exist for negative numbers")
elif n == 0:
  print("The factorial of 0 is 1")
else:
  for i in range(1, n + 1):
    factorial = factorial * i
  print("The factorial of", n , "is", factorial)
```

For the given input of 7, the program would return the output:

```
Enter a number: 7
The factorial of 7 is 5040
```
7
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Write a Python program to find the factorial of the given number.

### Input:
7

### Response:
Here is a Python program to find the factorial of a given number:

```
n = int(input("Enter a number: "))
factorial = 1

if n < 0:
  print("Factorial does not exist for negative numbers")
elif n == 0:
  print("The factorial of 0 is 1")
else:
  for i in range(1, n + 1):
    factorial = factorial * i
  print("The factorial of", n , "is", factorial)
```

For the given input of 7, the program would return the output:

```
Enter a number: 7
The factorial of 7 is 5040
```