<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def scaledBy(self, scale):
 """ Return a new Value scaled by a given number for ints and floats. """

        scaled = deepcopy(self)
    
        if type(scaled.value) in (int, float):
            scaled.value *= scale
        elif isinstance(scaled.value, numbers):
            scaled.value.values = tuple(v * scale for v in scaled.value.values)

        return scaled