<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def around(A, decimals=0):
 """ Evenly round to the given number of decimals. Args: A (Poly, numpy.ndarray):
 Input data. decimals (int):
 Number of decimal places to round to (default: 0). If decimals is negative, it specifies the number of positions to the left of the decimal point. Returns: (Poly, numpy.ndarray):
 Same type as A. Examples: [1.0, 0.25q0, 0.0625q0^2] [1.0, 0.0, 0.0] [1.0, 0.25q0, 0.06q0^2] """

    if isinstance(A, Poly):
        B = A.A.copy()
        for key in A.keys:
            B[key] = around(B[key], decimals)
        return Poly(B, A.dim, A.shape, A.dtype)

    return numpy.around(A, decimals)