You are viewing a single comment's thread. Return to all comments →
My solution:
def rota(d,arr): s = arr[0:d].copy() del arr[0:d] arr.extend(s) return arr
Seems like cookies are disabled on this browser, please enable them to open this website
Left Rotation
You are viewing a single comment's thread. Return to all comments →
My solution: