Compare 3 Numbers In Python