def substring_list(string):
    return [string[k:] for k, char in enumerate(string)]
Return all substrings of a given string as a list.
dataset/ETHPy150Open christabor/MoAL/MOAL/helpers/generic.py/substring_list