Remove first and last letters
Given a string, return the string without its first and last characters.
Sample Code:
def lettersRmv(str):
# Enter your logic here...
Examples:
Input: 'Codetisan'
Output: 'odetisa'
Explanation: The first and last letters have been removed.
Input: '01'
Output: ''
Explanation: The first and last letters have been removed.