You are viewing a single comment's thread. Return to all comments →
python - why is this failing test 4?
total = sum(arr) min = total max = 0 for x in arr: if (total - x) > max: max = total - x elif (total - x) < min: min = total - x print(f"{min} {max}")
why is this failing test 4? undefined
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 →
python - why is this failing test 4?
why is this failing test 4? undefined