Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's my middle name? #120

Open
tkellehe opened this issue Apr 6, 2017 · 0 comments
Open

What's my middle name? #120

tkellehe opened this issue Apr 6, 2017 · 0 comments

Comments

@tkellehe
Copy link
Owner

tkellehe commented Apr 6, 2017

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant