Is Basic Python enough for the assignments?

I am doing my very first assignment (python basic with numpy). However, when I open the lab, I know nothing. I got lost and don’t even know what the lab is about clearly. I saw some of the codes written inside, but I am not fully understanding all of them. Is it because of my gap? What should I attend first? I have finished basic python.

You have filed this under Math for Machine Learning Course 1, but I don’t remember and assignment called Python Basic with Numpy in that course. Are you sure you’re not asking about DLS Course 1 Week 2? There the first assignment is titled Python Basics with Numpy. If you know basic python, that should be enough, but maybe it depends on what exactly you mean by “basic”. You need to know all the basic python syntax for “if” and “for” statements and you need to know how functions work. How to call them and how the parameters work. That’s an area where Python has a couple of features that may be a bit unfamiliar if you are coming from Java or JavaScript or C++: the concept of “named” or optional parameters is an important one. You also need to know some of the python data structures like lists and dictionaries and how to use them.

Then this assignment (if it’s the DLS one that I’m thinking of) introduces you to Numpy, which is a powerful additional package for doing linear algebra in python.

My first suggestion would just be to take a few deep calming breaths or go for a walk around the block, then come back and just read carefully through all the instructions in the notebook from the beginning. They always try to explain things pretty thoroughly here.

Please let us know if any of the above sheds any light …