`python
def square(n):
    return n ** 2
`
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 function to calculate the square of a number.

### Input:


### Response:
`python
def square(n):
    return n ** 2
`<|im_end|>