RosettaCodeData/Task/Perfect-numbers/Smalltalk/perfect-numbers-2.st

2 lines
60 B
Smalltalk
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
1 to: 9000 do: [ :p | (p isPerfect) ifTrue: [ p printNl ] ]