Reverse a substring of a given string

How to reverse a substring in Python? For example I have the string abcd. I want to reverse the string from position 2 to 4. So answer will be adcb.