linke Rotation in der Liste

def array_left_rotation(a, d,):
    for i in range(d):
        t = a[0]
        a.pop(0)
        a.append(t)
        
    return a
Tender Tuatara