Connect to google drive

try:
    import google.colab
    from google.colab import drive

    drive.mount('/content/gdrive', force_remount=True)
    root_path = 'gdrive/My Drive/Colab Notebooks/WORKING_FOLDER_NAME/'
    print('Working on google colab')
except:
    root_path = '../'
    print('Working locally')

Download files (using chrome)

from google.colab import files
files.download('my_file.txt') 

Select tensorflow 2.x

%tensorflow_version 2.x