Hi，can you see my code below. the number of row in android is different from the answers. I got 10795 rows instead of 9614 rows.
which part has the problems?
for character in string:
if non_ascii >3:
print(is_english(‘Docs To Go™ Free Office Suite’))
for row in android:
for row in ios:
Well, your code looks fine. The problem could be in the indentation, but I cannot figure it out because the code is poorly formatted. Can you format it properly?
You can use ``` before and after the code.
For the ios part below, a think you should assign
row to name, not
for row in ios:
The error is here, you are taking the loop over the original dataset
To screen out the non-English name apps, you should have already cleaned the original dataset by removing duplicates apps and then you store the new dataset into a new list of lists called
andriod_clean (according to the instructions on the guided project).
After doing this, you the iterate over the new dataset
andriod_clean to get the same number of rows as the one in the answer
for app in android_clean:
name = app
Also, kindly take note to @otavios.s’s advice when making your next post to make it easy for others to read and identify errors in the code.
Let me know if this helps.
Good point @doyinsolamiolaoye. I thought about this too but assumed the second dataset was named after the first one. I would approach it if there was no indentation problem.
Thank you @doyinsolaniolaoye!! yes, it worked after i changed it…
@candiceliu93, You are welcome. Kindly mark the reply as the solution then.