Google ColabIntermediate Playground

Free cloud-based Jupyter environment by Google with GPU/TPU access

Using Google Colab effectivelyRun locally
Install
Visit https://colab.research.google.com
Python CodeRun locally

Following best practices with Google Colab ensures a productive development workflow.

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?