0

I want to reverse a particular section of the list in python.

For example:

list = [1,2,3,4,5]
 output:
 [3,2,1,4,5]

How can I do this thing?

Answered question