Colab Python Using And In If Statement