Steady squares: Difference between revisions
m
→Python :: Functional
(→Python :: Functional: Updated accumulating version to use .endswith) |
|||
Line 967:
ns = range(1, 1 + 10000)
xs = concatMap(steadyPair)(ns)
w, w2 =
print([n for n in ns if steadyPair(n)])
|