My Code:
for row in android[1:]:
name = row[0]
num_review = int(row[3])
if dict_by_review[name] != num_review:
del android[android.index(row)]
print(len(android))
What I expected to happen: I expect eliminate all the duplicates
What actually happened: I haven’t got what happened but length of the list should have been 9659 but it printed 10055 after execution
Enter other details below: dict_by_review is dictionary which I created according to solution and it contains 9659 correct key