(C1_W3) Programming assignment blues

Week 3, programming assignment, and I have definitely hit a wall.
When I signed up for this course, it was billed as a mathematics course, and a beginners course, but in truth a working knowledge of Python is definitely required, so I am building the plane while flying it.

Even simple exercise 1, which seemed simple and passed all checks, was given 0/10 when graded (I submit for grading after each section) is returning this error:
There was a problem compiling the code from your notebook. Details:
‘function’ object is not subscriptable

There is nothing in the lecture notes to help with Python, there is only mathematics, which I totally understand. So I feel like my options are to pause the course and take a Python course, or spend a LOT of time asking questions and waiting for answers.

Can someone please recommend the correct Python course to get me up to speed?
And also, why am I getting this grading error on what seems like such a simple assignment?

I’m a bit frustrated because I feel like I chose this course based on incomplete information from Coursera, not from DeepLearning.AI
I definitely do not have the Python skills required for this course.

Thanks for your time.

Hello @EyeBox and welcome to the Deeplearning community!

It might be a bit overwhelming for an absolute python beginner but that’s the purpose of this community. To help you catch up with everything you need for completing the course.

You can spare a few hours and walk through this website to get some basic knowledge about python; Introduction to Python

About your error, The Python “TypeError: ‘function’ object is not subscriptable” mostly occurs when we call a function using square brackets or declare a function with the same name as a variable. To solve the error, call functions using parentheses and make sure the names of functions and variables don’t clash

Hope this help!

Happy Learning
Isaak