• + 0 comments

    My solution:

    def rota(d,arr):
        s = arr[0:d].copy()
        del arr[0:d]
        arr.extend(s)
        
        return arr