You are viewing a single comment's thread. Return to all comments →
Python:
def icecreamParlor(m, arr): for x in range(len(arr)): for y in range(len(arr)): if x != y: if arr[x] + arr[y] == m: return (x + 1), (y + 1)
Seems like cookies are disabled on this browser, please enable them to open this website
Ice Cream Parlor
You are viewing a single comment's thread. Return to all comments →
Python: