Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
6 deleted 4 characters in body
source | link
5 edited body
source | link
01+:n","onao:n","onao!                           Stack at: 1st run   2nd run ...
0                 Push a 0             0         -
 1                Push a 1             0,1       1,1   
  +               Pop 2, add them      1         2 
   :              Duplicate top item   1, 1      2, 2
    n             Pop top, show as num 1         2
     a            Push the number 10   1, 10     2, 10
      o           Pop and show 10 as an ACII char (ie '\lf')
                                       1         2
         :nao     And again, for repetition
             !    ><> wraps around; this skips pushing a 0 again.
01+:n","o:n","o!                       Stack at: 1st run   2nd run ...
0                 Push a 0             0         -
 1                Push a 1             0,1       1,1   
  +               Pop 2, add them      1         2 
   :              Duplicate top item   1, 1      2, 2
    n             Pop top, show as num 1         2
     a            Push the number 10   1, 10     2, 10
      o           Pop and show 10 as an ACII char (ie '\lf')
                                       1         2
         :nao     And again, for repetition
             !    ><> wraps around; this skips pushing a 0 again.
01+:nao:nao!                           Stack at: 1st run   2nd run ...
0                 Push a 0             0         -
 1                Push a 1             0,1       1,1   
  +               Pop 2, add them      1         2 
   :              Duplicate top item   1, 1      2, 2
    n             Pop top, show as num 1         2
     a            Push the number 10   1, 10     2, 10
      o           Pop and show 10 as an ACII char (ie '\lf')
                                       1         2
         :nao     And again, for repetition
             !    ><> wraps around; this skips pushing a 0 again.
4 added 142 characters in body
source | link

><> / Jelly, 3337 bytes (2125 in Jelly's codepage)

01+:n","onao:n","onao!
DU;⁷Ṙ€
®‘©Çß

><> is only concerned with the top line:

And thanks to @Challenger5 for saving some bytes here on the linefeed

01+:n","o:n","o!                       Stack at: 1st run   2nd run ...
0                 Push a 0             0         -
 1                Push a 1             0,1       1,1   
  +               Pop 2, add them      1         2 
   :              Duplicate top item   1, 1      2, 2
    n             Pop top, show as num 1         2
     ","  a        Push a comma   Push the number 10   1, ","10     2, ","10
      o  o         Pop and show a10 commaas an ACII char (ie '\lf')
                                       1         2
         :n","onao     And again, for repetition
             !  !  ><> wraps around; this skips pushing a 0 again.

><> / Jelly, 33 bytes (21 in Jelly's codepage)

01+:n","o:n","o!
DU;⁷Ṙ€
®‘©Çß

><> is only concerned with the top line:

01+:n","o:n","o!                       Stack at: 1st run   2nd run ...
0                 Push a 0             0         -
 1                Push a 1             0,1       1,1   
  +               Pop 2, add them      1         2 
   :              Duplicate top item   1, 1      2, 2
    n             Pop top, show as num 1         2
     ","          Push a comma         1, ","    2, ","
        o         Pop and show a comma 1         2
         :n","o   And again, for repetition
               !  ><> wraps around; this skips pushing a 0 again.

><> / Jelly, 37 bytes (25 in Jelly's codepage)

01+:nao:nao!
DU;⁷Ṙ€
®‘©Çß

><> is only concerned with the top line:

And thanks to @Challenger5 for saving some bytes here on the linefeed

01+:n","o:n","o!                       Stack at: 1st run   2nd run ...
0                 Push a 0             0         -
 1                Push a 1             0,1       1,1   
  +               Pop 2, add them      1         2 
   :              Duplicate top item   1, 1      2, 2
    n             Pop top, show as num 1         2
     a            Push the number 10   1, 10     2, 10
      o           Pop and show 10 as an ACII char (ie '\lf')
                                       1         2
         :nao     And again, for repetition
             !    ><> wraps around; this skips pushing a 0 again.
3 added 227 characters in body
source | link
2 added 991 characters in body
source | link
1
source | link