def every_substring(string): return [string[i: j] for i in range(len(string)) for j in range(i + 1, len(string) + 1)]