tkellehe / noodel

A programming language designed around supporting ASCII animation based code golfing challenges.
10 stars 0 forks source link

What's my middle name? #120

Open tkellehe opened 7 years ago

tkellehe commented 7 years ago

What's my middle name?

5 bytes

My answer

Input must be an array of the names.

Ẹ⁻2¤İ

Try it:)


How it works

      # Pushes the input on implicitly.
Ẹ⁻2¤İ
Ẹ     # Takes the last item of an array and pushes it to the back.
 ⁻2   # Pop the first two items off of the array.
   ¤  # Push the string "¤" onto the stack which represents a space.
    İ # Concatenates the array elements by the "¤" string.
      # Implicitly output the top of the stack to the screen.