Week 4 assignment Exercise 7

Hi,
Can anyone please help me with this output why I am getting this and How I can resolve
I am getting this error attached below.

Hi @Mahnoor_Shafiq

Note the hint:
# add the word embedding to the running total for the document embedding
So you need to + to the current doc_embedding.

Please remove your solution code snippet.

Good luck!

Thank you for your help.