Jump to content

Talk:Weird numbers: Difference between revisions

→‎A faster and less ambitious algorithm ?: (changed an example, to show a sum of more than 2 parts)
(→‎A faster and less ambitious algorithm ?: (changed an example, to show a sum of more than 2 parts))
Line 45:
 
 
print(anySum(7, [1, 1, 1, 1, 1,6 3]))
# -> [1, 6]1, 1, 1, 3]
print(anySum(7, [6, 3]))
# -> []</lang>
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.