Write a Python code to get the maximum of two numbers.
You can use the `max()` function to get the maximum of two numbers:

```python
def maximum(num1, num2):
  return max(num1, num2)

num1 = 5
num2 = 7
result = maximum(num1, num2)
print(f"The maximum of {num1} and {num2} is {result}")
```
Alternatively, you can use conditional statements to compare the two numbers and determine which one is maximum:

```python
def maximum(num1, num2):
  if num1 > num2:
    return num1
  else:
    return num2
  
num1 = 5
num2 = 7
result = maximum(num1, num2)
print(f"The maximum of {num1} and {num2} is {result}")
```
Below is an instruction that describes a task, write a response that appropriately completes the request.

### Instruction:
Write a Python code to get the maximum of two numbers.

### Response:
You can use the `max()` function to get the maximum of two numbers:

```python
def maximum(num1, num2):
  return max(num1, num2)

num1 = 5
num2 = 7
result = maximum(num1, num2)
print(f"The maximum of {num1} and {num2} is {result}")
```
Alternatively, you can use conditional statements to compare the two numbers and determine which one is maximum:

```python
def maximum(num1, num2):
  if num1 > num2:
    return num1
  else:
    return num2
  
num1 = 5
num2 = 7
result = maximum(num1, num2)
print(f"The maximum of {num1} and {num2} is {result}")
```