Colorful numbers: Difference between revisions
m
→{{header|AppleScript}}: Typo.
(Added AppleScript.) |
m (→{{header|AppleScript}}: Typo.) |
||
Line 147:
-- (to show isColorful() working in all cases).
if ((n mod 10 > 1) or (magnitude < 2)) and (isColorful(n)) then
if (n < 100) then set end of colorfuls to text -
set counter to counter + 1
if (n = largestReverse) then
Line 187:
{{output}}
<syntaxhighlight lang="applescript">"The colorful numbers below 100:
24 25 26 27 28 29 32 34 35 36 37
38 39 42 43 45 46 47 48 49 52 53
|