class StringFunc:
    def __init_(self):
        pass

    @staticmethod
    def first_char(str):
        return str[:1]

    @staticmethod
    def last_char(str):
        return str[-1:]

    @staticmethod
    def reverse(str):
        return str[::-1]
