Wrong data in App store data? Yes

This code shows that there are two apps that have duplicate entries in the App store data.

ios_duplicate_apps = {}

for app in apps_data1:
app_name = app[1]
if app_name in ios_duplicate_apps:
ios_duplicate_apps[app_name] += 1
else:
ios_duplicate_apps[app_name] = 1

for key in ios_duplicate_apps:
if ios_duplicate_apps[key] > 1:
print(key, ios_duplicate_apps[key])

lol: submitted this before reading the next mission.

1 Like