Timeline for Print 123454321 without if statements and using only 2 variables
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2014 at 16:34 | comment | added | ProgramFOX | If you found a shorter code, you can edit your answer to update the code. | |
Jun 10, 2014 at 16:33 | history | edited | ProgramFOX | CC BY-SA 3.0 |
Added code block formatting
|
Jun 10, 2014 at 16:25 | review | First posts | |||
Jun 10, 2014 at 16:34 | |||||
Jun 10, 2014 at 16:20 | comment | added | user24909 | This fits the rules better: (1 to 9).map(x => 5-Math.abs(5-x)).mkString(" ") | |
Jun 10, 2014 at 16:08 | history | answered | user24909 | CC BY-SA 3.0 |