You are viewing a single comment's thread. Return to all comments →
This is my code in Python. Should be easy to understand even for beginners.
lst = map(int,raw_input().strip().split(' ')) x = sum(lst) print (x-(max(lst))), (x-(min(lst)))
Seems like cookies are disabled on this browser, please enable them to open this website
Mini-Max Sum
You are viewing a single comment's thread. Return to all comments →
This is my code in Python. Should be easy to understand even for beginners.