Week 4 assignment - scipy error

scipy.random.seed(7) → this line is throwing error.

AttributeError: Module ‘scipy’ has no attribute ‘random’

I commented it out and I was able to complete the assignment. Notebook needs to be updated ?

Every time you open the notebook, you have to re-run all of the cells starting from the top. That’s where the assets are imported.

still i get the same error.

Sorry, my bad. I get error only in my local environment. Its working fine in online notebook.

I recommend you not run the notebooks anywhere except on Coursera Labs in your browser.