Harshad or Niven series: Difference between revisions
→{{header|Python}}: Added a sibling label (Procedural + Functional)
m (→Python: Functional: Updated output (more horizontal compression)) |
(→{{header|Python}}: Added a sibling label (Procedural + Functional)) |
||
Line 2,439:
</pre>
=={{header|Python}}==
===Python: Procedural===
<lang python>>>> import itertools
>>> def harshad():
|