<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lowes(data):
 """ gets Lowe's power spectrum from gauss coefficients Parameters _________ Returns _______ Ls : list of degrees (l) Rs : power at degree l """

    lmax = data[-1][0]
    Ls = list(range(1, lmax+1))
    Rs = []
    recno = 0
    for l in Ls:
        pow = 0
        for m in range(0, l + 1):
            pow += (l + 1) * ((1e-3 * data[recno][2])
                              ** 2 + (1e-3 * data[recno][3])**2)
            recno += 1
        Rs.append(pow)
    return Ls, Rs