Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS non-English apps not getting removed? #80

Open
zoeyherm opened this issue Jul 24, 2019 · 0 comments
Open

iOS non-English apps not getting removed? #80

zoeyherm opened this issue Jul 24, 2019 · 0 comments

Comments

@zoeyherm
Copy link

zoeyherm commented Jul 24, 2019

I'm having a hard time recreating the part in the tutorial where the non-English apps get removed from the ios data set. The solutions works totally fine for the Android apps but when I copy/paste exactly, no iOS apps get removed...

Also obviously I can't figure out how to do the indentation when I post this question.

android_english = []
ios_english = []

for app in android_clean:
name = app[0]
if is_english(name):
android_english.append(app)

for app in ios[1:]:
name = app[1]
if max_three_non_english(name):
ios_english.append(app)

print(len(android_english))
print(len(ios_english))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant