65
\$\begingroup\$

Challenge description

On some channels on a popular streaming site twitch.tv a common message people tend to spam in chats to bait people into spamming "LUL" is

One more LUL and I'm out

LUL is a popular emote used to express that something funny happened on stream.

Soon dank memes showed their potential and a parody of the copy-pasta ensued:

One more "One more LUL and I'm out" and I'm out

Which is the same message nested in itself. Given a non-negative integer N, output the LUL-pasta nested N times in itself following the pattern below.

Standard rules apply, the shortest code in bytes wins.

Sample input / output

0: One more LUL and I'm out
1: One more "One more LUL and I'm out" and I'm out
2: One more "One more "One more LUL and I'm out" and I'm out" and I'm out
...
7: One more "One more "One more "One more "One more "One more "One more "One more LUL and I'm out" and I'm out" and I'm out" and I'm out" and I'm out" and I'm out" and I'm out" and I'm out

Notes

  • Leading/trailing newlines are allowed
  • Capitalization must be preserved
  • Your code may be a full program or a function
  • Instead of printing, you may return a string or its equivalent in your language of choice
  • You may index from 1 instead of 0
\$\endgroup\$
11
  • 6
    \$\begingroup\$ can I add " in the start and end too? \$\endgroup\$
    – Rod
    Commented Jan 19, 2017 at 11:44
  • 8
    \$\begingroup\$ @Rod: No, you cannot. \$\endgroup\$
    – shooqie
    Commented Jan 19, 2017 at 12:07
  • 30
    \$\begingroup\$ The title of this challenge is very awkward for Dutch speakers... \$\endgroup\$
    – user34409
    Commented Jan 19, 2017 at 14:12
  • 6
    \$\begingroup\$ @Pakk But it's true. I see a LUL, and I'm outta here... \$\endgroup\$
    – steenbergh
    Commented Jan 19, 2017 at 14:20
  • 8
    \$\begingroup\$ This can be extended to YOLO: You Only YOLO once --> YOYOLOO. You Only YOYOLOO Once --> YOYOYOLOOO, etc. \$\endgroup\$
    – DJMcMayhem
    Commented Jan 19, 2017 at 16:07

66 Answers 66

1 2
3
0
\$\begingroup\$

GolfScript, 44 bytes

~"LUL"\{'"One more 
 and I\'m out"'n/*}*(;);

Try it online!

1-indexed.

Explanation:

~"LUL"\{'"One more \n and I\'m out"'n/*}*(;); ("\n" is a newline)
~                                             Eval (input is the only stack element on program start)
 "LUL"                                        Push "LUL"
      \                                       Swap
       {'"One more \n and I\'m out"'n/*}      Push block:
        '"One more \n and I\'m out"'            Push "\"One more \n and I'm out\""
                                    n           Push n (default: newline)
                                     /          Split
                                      *         Join
                                        *     Repeat block
                                         (    Pop first element and push to stack
                                          ;   Pop
                                           )  Pop last element and push to stack
                                            ; Pop
\$\endgroup\$
0
\$\begingroup\$

SOGL V0.12, 27 bytes

LUL”.I{" ž-┌πēj░ō|≥π┘⁴‘⁾}jk

Try it Here!

\$\endgroup\$
0
\$\begingroup\$

FEU, 107 97 bytes

Ep/v
a/One more LUL and I'm out
EP/v
u/a
/a/g
Ep/v
s/LUL/"One more LUL and I'm out"
EP/v
end
Ep/v

Try it online!

\$\endgroup\$
0
\$\begingroup\$

Japt, 33 bytes

`O Ú {?Q²¬qßUÉ:`lª`u} d I'm t

Try it

\$\endgroup\$
0
\$\begingroup\$

Vyxal, 34 33 bytes

`"λŀ λƈ `*‛⇧Ṫ⇧+` λ¬ I'm λ₅"`?*+ḢṪ

Try it Online!

-1 thx to @steffan

\$\endgroup\$
1
  • \$\begingroup\$ `LUL` => ‛⇧Ṫ⇧ \$\endgroup\$
    – naffetS
    Commented Oct 13, 2022 at 3:39
0
\$\begingroup\$

Thunno 2, 34 bytes

ʋLULs{‘"One Ḍḋ % and I'm out"‘Œ}ḣṫ

Attempt This Online!

Explanation

ʋLULs{‘...‘Œ}ḣṫ  # Implicit input
ʋLUL             # Push the string "LUL"
    s            # Swap so the input is back on top
     {      }    # Repeat input number of times:
      ‘...‘      # Push compressed template string
                 # `"One more % and I'm out"`
           Œ     # Replace the "%" with the
                 # next item on the stack
             ḣṫ  # Remove the first and last characters
                 # Implicit output
\$\endgroup\$
1 2
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.