How To Close If Statement In Python