How To Assign Minimum Value In Python