Regarding Optional Labs of Machine Learning course

I am currently attending the supervised machine learning course’s first section and i am currently on the 2nd week’s coursework, I have seen and tried to understand the code of each and every optional lab till now (but I dont remember any code or even syntax), and a serious doubt lingers in my head, that am I doing it the right way?
So, here are some questions, it would be very helpful and guiding if any of you can answer these.
1.) Do we need to write an answer or something at the end of lab?
2.) How to take the complete benefit of the labs?
3.) Is it ok if i dont memorize the python code, i am currently in 1st year and i know C and C++.
4.) Will just reading the code suffice the importance?
5.) Any general feedback!

Thanking you in anticipation.

You don’t need to complete anything for the optional labs. They’re just demonstrations.

You don’t need to memorize the code or how the functions work. It’s up to you how much you want to study them.

The graded programming labs are where you will write some bits of code.

Yes, you need to have some understanding of the Python language for the graded labs!