Threshold Meaning In Python Code Run