def multiply_by_two(a):
    """
    This function muliplies a number by 2
    Args:
        a(float): number
    Return:
        float: result of the multiplication by 2
    Examples:
    >>> multiply_by_two(5)
    10
    >>> multiply_by_two(2.5)
    5
    """
    return 2*a
