open_in_new
content_copy
for i in range(len(dicts)): if dicts[i].get('id') == 2: del dicts[i]