You are viewing a single comment's thread. Return to all comments →
costs = [] for i in keyboards: for j in drives: costs.append (i+j) if (i+j <= b) else costs.append (0) return max(costs) if (max(costs) > 0) else -1
Seems like cookies are disabled on this browser, please enable them to open this website
Electronics Shop
You are viewing a single comment's thread. Return to all comments →