[Lesson 2][Arrays] CyclicRotation
app.codility.com/programmers/lessons/2-arrays/cyclic_rotation/ CyclicRotation coding task - Learn to Code - Codility Rotate an array to the right by a given number of steps. app.codility.com # K번 배열 회전하기 def solution(A, K): if not A: return A for _ in range(K): A.insert(0, A.pop()) return A print(solution([3, 8, 9, 7, 6], 3)) # [9, 7, 6, 3, 8] print(solution([0, 0, 0], 1)) # [0, 0, 0] print(solu..