Practical numbers: Difference between revisions

Python::Composition – Restored the deleted original, expressed thanks for the addition of a variant for comparison.)
(Python :: Composition – Restored the deleted original, expressed thanks for the addition of a variant for comparison.))
(Python::Composition – Restored the deleted original, expressed thanks for the addition of a variant for comparison.))
Line 421:
main()</lang>
{{Out}}
<pre>77 OEIS A005153 numbers in [1..333]
<pre></pre>
 
1 2 4 6 8 12 16 18 20 24
28 30 32 36 40 42 48 54 56 60
64 66 72 78 80 84 88 90 96 100
104 108 112 120 126 128 132 140 144 150
156 160 162 168 176 180 192 196 198 200
204 208 210 216 220 224 228 234 240 252
256 260 264 270 272 276 280 288 294 300
304 306 308 312 320 324 330
 
 
666 is practical :: True</pre>
 
====Variant with actual Python type hints====
9,659

edits