Given two numbers, write a python code to calculate their sum.
Sure! Here is a simple Python code to calculate the sum of two given numbers:

```python
x = 7
y = 4
sum = x + y
print(f"The sum of {x} and {y} is {sum}.") # print the sum
```

In this case, the sum of `7` and `4` is `11`.
x = 7
y = 4
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:
Given two numbers, write a python code to calculate their sum.

### Input:
x = 7
y = 4

### Response:
Sure! Here is a simple Python code to calculate the sum of two given numbers:

```python
x = 7
y = 4
sum = x + y
print(f"The sum of {x} and {y} is {sum}.") # print the sum
```

In this case, the sum of `7` and `4` is `11`.