Python Multiple Conditions In If Statement