Cost Function Reproduced In Google Colab C1W1

For those who wanted to reproduce labs in google colab.
Just spent a couple of hours, wish someone posted, how to do it.

Interactivity was an issue

Thanks for posting this.