Act fast, special offers end soon! Up to $294 is savings when you get Premium today.
Get offer codes

The lenght of the dataset shoud be more than my result

Screen Link:
https://app.dataquest.io/c/113/m/428/guided-project%3A-profitable-app-profiles-for-the-app-store-and-google-play-markets/4/removing-duplicate-entries-part-one

My Code:

unique_apps = []
duplicated_apps = []
for app in file1:
    name = app[0]
    if app in unique_apps : 
        duplicated_apps.append(name)
    else : 
        unique_apps.append(name)
print(len(unique_apps))```



the number of duplicates is : 0


<!--Enter other details below: -->
What I expected to happen:
first, file1 represents the dataset in which I have the google play apps. I expected that I will get some duplicates in the dataset 
What actually happened: I got 0 duplicates...

You are checking if app is in the list and not the name. That’s why your list of duplicates is empty because the above if condition will never be True.