from typing import List
def all_prefixes(string: str) -> List[str]:
    result = []
    for i in range(len(string)):
        result.append(string[:i+1])
    return result
from typing import List
def all_prefixes(string: str) -> List[str]:
    VAR_0 = []
   
    for i in range(len(string)):
        VAR_0.append(string[: i + 1])
    return VAR_0