<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def print_matrix(X, decimals=1):
 """Pretty printing for numpy matrix X"""

    for row in np.round(X, decimals=decimals):
        print(row)