m (updated FunL) |
(updated FunL) |
||
Line 609: | Line 609: | ||
=={{header|FunL}}== |
=={{header|FunL}}== |
||
⚫ | |||
<lang funl>import integers.factors |
|||
println( (1..500).filter(perfect) )~~</lang> |
|||
⚫ | |||
for i <- 1..500 |
|||
if perfect( i ) |
|||
println( i )</lang> |
|||
{{out}} |
{{out}} |