Post History
Japt, 3 bytes ÆßX Try it online! (don't mind the -Q This is Shaggy's solution. ÆßX Æ Make a range [0, input) and map each number X: ß Run this program again on X Japt, 11 8 bytes ...
Answer
#3: Post edited
- # Japt, <s>11</s> 8 bytes
- Saved 3 bytes thanks to Shaggy! (Shaggy also has a 3-byter ready)
- ```
- gA=_o mA
- ```
[Try it online!](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQgdjI) (actually, don't, try [this](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQsIHN0cmluZ2lmaWVkIHYy) instead to see the output properly)- This is practically a port of [Razetime's answer](https://codegolf.codidact.com/posts/281529#answer-281529), which you should upvote!
- ```
- gA=_o mA
- g Apply the following function to the input
- A= It's a recursive function, so assign it to the variable A
- _o Make a range [0, Z), where Z is the input
- mA And map every number in that range to A again
- ```
- # Japt, 3 bytes
- ```
- ÆßX
- ```
- [Try it online!](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=xt9Y&input=MwotUQ) (don't mind the -Q
- This is Shaggy's solution.
- ```
- ÆßX
- Æ Make a range [0, input) and map each number X:
- ß Run this program again on
- X
- ```
- # Japt, <s>11</s> 8 bytes
- Saved 3 bytes thanks to Shaggy! (Shaggy also has a 3-byter ready)
- ```
- gA=_o mA
- ```
- [Try it online!](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQgMiB3LyBmbGFn)
- This is practically a port of [Razetime's answer](https://codegolf.codidact.com/posts/281529#answer-281529), which you should upvote!
- ```
- gA=_o mA
- g Apply the following function to the input
- A= It's a recursive function, so assign it to the variable A
- _o Make a range [0, Z), where Z is the input
- mA And map every number in that range to A again
- ```
#2: Post edited
# Japt, 11 bytes- ```
g$f=$_o m$f- ```
[Try it online!](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQ) (actually, don't, try [this](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQsIHN0cmluZ2lmaWVk) instead to see the output properly)- This is practically a port of [Razetime's answer](https://codegolf.codidact.com/posts/281529#answer-281529), which you should upvote!
- ```
g$f=$_o m$fg Apply the following function to the input$f=$ It's a recursive function, so assign it to a variable f_o Make a range [0, Z), where Z is the inputm And map every number in that range to f again- ```
- # Japt, <s>11</s> 8 bytes
- Saved 3 bytes thanks to Shaggy! (Shaggy also has a 3-byter ready)
- ```
- gA=_o mA
- ```
- [Try it online!](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQgdjI) (actually, don't, try [this](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQsIHN0cmluZ2lmaWVkIHYy) instead to see the output properly)
- This is practically a port of [Razetime's answer](https://codegolf.codidact.com/posts/281529#answer-281529), which you should upvote!
- ```
- gA=_o mA
- g Apply the following function to the input
- A= It's a recursive function, so assign it to the variable A
- _o Make a range [0, Z), where Z is the input
- mA And map every number in that range to A again
- ```
#1: Initial revision
# Japt, 11 bytes ``` g$f=$_o m$f ``` [Try it online!](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQ) (actually, don't, try [this](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&project=TWFrZSBteSBudW1iZXIgYSBzZXQsIHN0cmluZ2lmaWVk) instead to see the output properly) This is practically a port of [Razetime's answer](https://codegolf.codidact.com/posts/281529#answer-281529), which you should upvote! ``` g$f=$_o m$f g Apply the following function to the input $f=$ It's a recursive function, so assign it to a variable f _o Make a range [0, Z), where Z is the input m And map every number in that range to f again ```