Friends and Fans of newLISP
Skip to content
Post by Cyril » Thu Oct 07, 2010 1:08 am
Code: Select all
(for (i 1 100) (unless (regex {^1?$|^(11+?)\1+$} (dup "1" i)) (print i " ")))
Post by cormullion » Thu Oct 07, 2010 5:19 pm
Post by Lutz » Thu Oct 07, 2010 9:17 pm
Return to “Anything else we might add?”
Powered by phpBB® Forum Software © phpBB Limited
Privacy | Terms