def report_progress(typed, prompt, id, send):
    """Send a report of your id and progress so far to the multiplayer server."""
    # BEGIN PROBLEM 8
    num_correct, index = 0, 0
    for t in typed:
        if t == prompt[index]:
            num_correct += 1
        else:
            break
        index += 1
    percent = num_correct/len(prompt)
    send({'id': id, 'progress': percent})
    return percent
    # END PROBLEM 8