How To Find Minimum And Maximum In Python