You are viewing a single comment's thread. Return to all comments →
Python3 Sherlock lame game
def balancedSums(arr): # Write your code here r = sum(arr) l = 0 for i in arr: r -= i if l == r: return "YES" l += i return "NO"
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Array
You are viewing a single comment's thread. Return to all comments →
Python3 Sherlock lame game