# Title:Remove First and Last Character
# Rank: 8 kyu
# Language Version: Python 3.6.0

## Instructions ##
# It's pretty straightforward. Your goal is to create a function that removes the 
# first and last characters of a string. You're given one parameter, the original 
# string. You don't have to worry with strings with less than two characters.
#
## Solution ##
def remove_char(s):
    return s[1:len(s) - 1]
    
## Test Case ##
Test.describe("Tests")
Test.assert_equals(remove_char('eloquent'), 'loquen')
Test.assert_equals(remove_char('country'), 'ountr')
Test.assert_equals(remove_char('person'), 'erso')
Test.assert_equals(remove_char('place'), 'lac')
Test.assert_equals(remove_char('ok'), '')