human
Solve the following python programming problem given the following code:
def concurrent_map(func, data) : 
    "
    Similar to the builtin function map(). But spawn a thread for each argument
    and apply 'func' concurrently.

    Note: unlie map(), we cannot take an iterable argument. 'data' should be an
    indexable sequence.
    " 
    N = len (data) 
    result = ([None] * N) 
    def task_wrapper(i) : 
        result [i] = func (data [i]) 
threads = [threading.Thread (target = N, args = (i,)) for i in xrange (N)] 
    for t in threads : 
        t.start () 
for t in threads : 
        t.join () 
return result 

    
    

    Fix the buggy line: threads = [threading.Thread (target = N, args = (i,)) for i in xrange (N)]
assistant
#Here is Python program to fix the buggy line: threads = [threading.

threads = [threading.Thread (target = def task_wrapper(, args = (i,)) for i in xrange (N)]