List is not callable error

Hi I am getting the following error:

Hello and welcome to the community!

Please make sure that when you ask questions -

  1. Share the link to the Mission/Mission Step
  2. Try to apply the appropriate tags to the question if possible
  3. Share your code, in text form and properly formatted. You have shared a screenshot, which is great to show the error, but not helpful for someone to quickly copy your code and try to run it.

You can also refer to Introducing guidelines for all technical questions in our Community and Guide: How to Ask a Good Question as well.