Code Golf: Code Golf: Difference between revisions
Content added Content deleted
(→Joy: add) |
(Add lang example) |
||
Line 249: | Line 249: | ||
Or, in case format strings are allowed for conversion (36 bytes): |
Or, in case format strings are allowed for conversion (36 bytes): |
||
<syntaxhighlight lang="sh">printf %..39d%5..43d 2291147 3384588</syntaxhighlight> |
<syntaxhighlight lang="sh">printf %..39d%5..43d 2291147 3384588</syntaxhighlight> |
||
=={{header|Lang}}== |
|||
With text literal (19 Bytes): |
|||
<syntaxhighlight lang="lang">fn.print(Code Golf)</syntaxhighlight> |
|||
Without text literal (88 Bytes): |
|||
<syntaxhighlight lang="lang">parser.op(print(join(\e, arrayMapToNew([67,111,100,101,32,71,111,108,102], fn.toChar))))</syntaxhighlight> |
|||
=={{header|Lua}}== |
=={{header|Lua}}== |