(value, factor)
return value * factor
Multiply value by factor, allowing for None values.
Multiply value by factor, allowing for None values.
Multiply value by factor allowing for None values .
def scale(value, factor):
    """Multiply value by factor, allowing for None values."""
    if value is None:
        return None
    return value * factor
def scale ( value , factor ) : if value is None : return None return value * factor