C1W4_Assignment - name 'os' is not defined and name ‘plt’ is not defined

Hi Balaji, Finally I passed it. Seem like I need to declare the import statements in the same cells using those libraries.

Only one question. Why?

I used to import such libraries on top of notebook in all of my previous learning. It doesn’t raise such errors though. Thanks ahead.