Jump to content

Practical numbers: Difference between revisions

→‎{{Header|Python}}: Uses Haskell type signature instead of Python.
(→‎{{Header|Python}}: Uses Haskell type signature instead of Python.)
Line 83:
 
 
===Or, as a composition of pure functions, including a more narrowly targeted test for subsets with a given sum:===
{{improve|Python|Uses Haskell type signature instead of Python.}}
, including a more narrowly targeted test for subsets with a given sum:
 
<lang python>'''Practical numbers'''
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.