File size: 75 Bytes
1514a0b
 
1
2
def reverse_Array_Upto_K(input, k):
    return input[k - 1::-1] + input[k:]