Write a function that takes an array, and two numbers (a,n), then reverses everything in the array from the ath element to the nth element. partial_reverse(['a','b','c','d','e','f','g'], 2,5) would print out: a e d c b f g
Check out your Company Bowl for anonymous work chats.