How to convert Google Colabs from Python 2 to Python 3


I don’t know why Google Colabs defaults to Python 2, regardless, it’s extremely easy to change your notebook to Python 3. It’s so easy I don’t even have more than one paragraph of words to write about how to do it. Here are the steps:

Click on Runtime>Change Runtime Type 

From the Dropdown select Python 3. You can even select GPU as well to speed up your machine learning tasks.

Done. Now wasn’t that easy?