Post History
Japt -R, 16 15 14 bytes pÔ¬Ëú°EDùEÃÆpÔ Try it pÔ¬Ëú°EDùEÃÆpÔ :Implicit input of string p :Append Ô : Reverse ¬ :Split Ë ...
Answer
#6: Post edited
- # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> <s>15</s> 14 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- pÔ¬Ëú°EDùEÃÆpÔ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=cNSsy/qwRUT5RcPGcNQ&input=IkhlbGxvIg)
- pÔ¬Ëú°EDùEÃÆpÔ :Implicit input of string
- p :Append
- Ô : Reverse
- ¬ :Split
- Ë :Map each D at 0-based index E
ú : Left pad- °E : to length E, prefix incremented
DùE : with D, right padded to length E- Ã :End map
- Æ :Modify the last element, replacing it with
- p : Append to input
- Ô : Reverse
- :Implicit output joined with newlines
- # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> <s>15</s> 14 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- pÔ¬Ëú°EDùEÃÆpÔ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=cNSsy/qwRUT5RcPGcNQ&input=IkhlbGxvIg)
- pÔ¬Ëú°EDùEÃÆpÔ :Implicit input of string
- p :Append
- Ô : Reverse
- ¬ :Split
- Ë :Map each D at 0-based index E
- ú : Right pad
- °E : to length E, prefix incremented
- DùE : with D, left padded to length E
- Ã :End map
- Æ :Modify the last element, replacing it with
- p : Append to input
- Ô : Reverse
- :Implicit output joined with newlines
#5: Post edited
# [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)ê1¬ËúEÄ hJDÃÆU[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6jEKrMv6RcQgaEpEw8ZV&input=IkhlbGxvIg)ê1\n¬ËúEÄ hJDÃÆU :Implicit input of string Uê1 :Mirror\n :Reassign to variable U¬ :SplitË :Map each D at 0-based index Eú : Left pad with spaces to lengthEÄ : E+1h : Replace the character at index ...J : -1 (i.e., the last) with ...D : Dà :End mapÆU :Modify the last element and return U:Implicit output joined with newlines
- # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> <s>15</s> 14 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- pÔ¬Ëú°EDùEÃÆpÔ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=cNSsy/qwRUT5RcPGcNQ&input=IkhlbGxvIg)
- pÔ¬Ëú°EDùEÃÆpÔ :Implicit input of string
- p :Append
- Ô : Reverse
- ¬ :Split
- Ë :Map each D at 0-based index E
- ú : Left pad
- °E : to length E, prefix incremented
- DùE : with D, right padded to length E
- Ã :End map
- Æ :Modify the last element, replacing it with
- p : Append to input
- Ô : Reverse
- :Implicit output joined with newlines
#4: Post edited
- # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ê1
- ¬ËúEÄ hJDÃÆU
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6jEKrMv6RcQgaEpEw8ZV&input=IkhlbGxvIg)
- # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ê1
- ¬ËúEÄ hJDÃÆU
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6jEKrMv6RcQgaEpEw8ZV&input=IkhlbGxvIg)
- ê1\n¬ËúEÄ hJDÃÆU :Implicit input of string U
- ê1 :Mirror
- \n :Reassign to variable U
- ¬ :Split
- Ë :Map each D at 0-based index E
- ú : Left pad with spaces to length
- EÄ : E+1
- h : Replace the character at index ...
- J : -1 (i.e., the last) with ...
- D : D
- Ã :End map
- ÆU :Modify the last element and return U
- :Implicit output joined with newlines
#3: Post edited
# [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>15</s> 14 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)ê- ¬ËúEÄ hJDÃÆU
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6gqsy/pFxCBoSkTDxlU&input=IkhlbGxvIg)
- # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ê1
- ¬ËúEÄ hJDÃÆU
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6jEKrMv6RcQgaEpEw8ZV&input=IkhlbGxvIg)
#2: Post edited
# [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)- ê
¬ËpEg)iDúEÃÆU[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6gqsy3BFZylpRPpFw8ZV&input=IkhlbGxvIg)
- # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>15</s> 14 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ê
- ¬ËúEÄ hJDÃÆU
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6gqsy/pFxCBoSkTDxlU&input=IkhlbGxvIg)
#1: Initial revision
# [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) ê ¬ËpEg)iDúEÃÆU [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=6gqsy3BFZylpRPpFw8ZV&input=IkhlbGxvIg)