```python
def hamming_Distance(n1,n2) :
    """
    Calculates the Hamming distance between two integers.

    The Hamming distance is the number of positions at which the
    corresponding bits are different. This is equivalent to counting
    the number of set bits (1s) in the bitwise XOR of the two numbers.

    Args:
        n1: The first integer.
        n2: The second integer.

    Returns:
        The Hamming distance between n1 and n2.
    """
    # XOR the two numbers to find the bits that are different.
    # bin() converts the result to a binary string (e.g., '0b101').
    # .count('1') counts the number of '1's in that string.
    return bin(n1 ^ n2).count('1')

```