def get_permutations(string):
    """Return all permutations of the string"""
    if len(string) == 0:
        return []
    elif len(string) == 1:
        return string
    else:
        ls = []
        for i in range(len(string)):
            starting_letter = string[i]
            rest = string[:i] + string[i+1:]
            for j in get_permutations(rest):
                ls.append(starting_letter+j)

    return ls