```python
def square_perimeter(a):
    """
    Calculates the perimeter of a square.

    Args:
        a: The length of a side of the square.

    Returns:
        The perimeter of the square.
    """
    return 4 * a

```