min max problem in python

Solutions on MaxInterview for min max problem in python by the best coders in the world

showing results for - "min max problem in python"
Doug
05 Jan 2019
1x = sum(arr)
2
3minValue = x - max(arr)
4maxValue = x - min(arr)
5
6print(minValue, maxValue)
7