remove first and last characters from string python code example Example: how to remove first letter of a string python s = "hello" print s[1:]