def split_with_spaces(sentence):
    """
    Takes string with partial sentence and returns
    list of words with spaces included.
    
    Leading space is attached to first word.
    Later spaces attached to prior word.
    """
    sentence_list = []
    curr_word = ""
    for c in sentence:
        if c == " " and curr_word != "":
            # append space to end of non-empty words
            # assumed no more than 1 consecutive space.
            sentence_list.append(curr_word+" ")
            curr_word = ""
        else:
            curr_word += c
    
    # add trailing word that does not end with a space        
    
    if len(curr_word) > 0:
        sentence_list.append(curr_word)
    
    return sentence_list