How To Take Minimum Value In Python