Activity for DonielFâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #279344 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Tile pyramids on top of each other! AppleScript, 264 bytes Sue me. It works. ``` set n to text returned of (display dialog "" default answer "") as number set o to "" repeat with i from 1 to n repeat (n-i) times set o to o&" " end repeat repeat i times set o to o&"/" end repeat repeat i times ... (more) |
— | almost 4 years ago |
Edit | Post #279343 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Partial Sums of Harmonic Series AppleScript, 178 bytes ``` set n to text returned of (display dialog "" default answer "") as number set k to 0 set h to 0 repeat set k to k + 1 set h to h + (1 / k) if h >= n then exit repeat end repeat k ``` It's really a shame that AppleScript doesn't support explicit stdin. (more) |
— | almost 4 years ago |
Edit | Post #279342 | Initial revision | — | almost 4 years ago |
Answer | — |
A: "Hello, World!" AppleScript, 15 bytes "Hello, World!" No, I'm not joking. This ridiculous language for a code golf actually beats some of the more normal languages. (more) |
— | almost 4 years ago |
Comment | Post #279327 |
"undefined:3: ReferenceError: alert is not defined
alert('\x48\x65\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64')
^
ReferenceError: alert is not defined
at eval (eval at <anonymous> (.code.tio:11:31), <anonymous>:3:1)
at .code.tio:24:38" (more) |
— | almost 4 years ago |