I\'m supposed to create a function, which input is a list and two numbers, the function reverses the sublist which its place is indicated by the two numbers. for example this is
Easiest way to reverse a list in a partial or complete manner.
listVar = ['a','b','c','d'] def listReverse(list,start,end): while(start
Output : - ['a', 'd', 'c', 'b']