Guided_project issue

Screen Link:

My Code:

android_clean= []
already_added = []
for app in android[1:]:
    name = app[0]
    n_reviews = float(app[2])
    if n_reviews == reviews_max[name] and name not in already_added:
        android_clean.append[app]
        already_added.append[name]```

What I expected to happen:
To work properly

What actually happened: 
Error

TypeError: ‘builtin_function_or_method’ object is not subscriptable


<!--Enter other details below: -->

I think you are getting an error because of the append functions. Pay attention to the brackets.

1 Like