def dele(taskid):
    tsk = [x for x in tasks if x['id'] == taskid]
    if len(tsk) == 0:
        abort(404)
    tasks.remove(tsk[0])
    return jsonify({'tasks': tasks, 'tks': muld})
def multdel():
	for x in muld:
		if x in tasks:
			tasks.remove(x)
	return jsonify({'tasks':tasks})
def multdel():
    for x in muld:
        if x in tasks:
            tasks.remove(x)
    return jsonify({'tasks': tasks})
def dele(taskid):
	tsk = [x for x in tasks if x['id'] == taskid]
	if len(tsk) == 0:
		abort(404)
	tasks.remove(tsk[0])
	return jsonify({'tasks': tasks, 'tks':muld})