def title_case_loop(value):
    """Return the specified string in title case using a loop."""
    result = ""
    for i, word in enumerate(value):
        if(i == 0 or value[i - 1] == " "):
            result += word.upper()
        else:
            result += word
    return result