We’re rewarding the question askers & reputations are being recalculated! Read more.
3 added 5 characters in body
source | link

Pyke, 6 bytes, noncompeting

2>Ql2<Ql{q

Try it here!Try it here!

2>2<     -   inp[:2]
    {  -  reshape(^, v)
  Ql   -   len(inp)
     q - ^ == inp

Allow reshape node to take a list as well as a string

Pyke, 6 bytes, noncompeting

2>Ql{q

Try it here!

2>     -   inp[:2]
    {  -  reshape(^, v)
  Ql   -   len(inp)
     q - ^ == inp

Allow reshape node to take a list as well as a string

Pyke, 6 bytes, noncompeting

2<Ql{q

Try it here!

2<     -   inp[:2]
    {  -  reshape(^, v)
  Ql   -   len(inp)
     q - ^ == inp

Allow reshape node to take a list as well as a string

2 added 1 character in body
source | link

Pyke, 6 bytes, noncompeting

2>Ql{q

Try it here!Try it here!

2>     -   inp[:2]
    {  -  reshape(^, v)
  Ql   -   len(inp)
     q - ^ == inp

Allow reshape node to take a list as well as a string

Pyke, 6 bytes, noncompeting

2>Ql{q

Try it here!

2>     -   inp[:2]
    {  -  reshape(^, v)
  Ql   -   len(inp)
     q - ^ == inp

Allow reshape node to take a list as well as a string

Pyke, 6 bytes, noncompeting

2>Ql{q

Try it here!

2>     -   inp[:2]
    {  -  reshape(^, v)
  Ql   -   len(inp)
     q - ^ == inp

Allow reshape node to take a list as well as a string

1
source | link

Pyke, 6 bytes, noncompeting

2>Ql{q

Try it here!

2>     -   inp[:2]
    {  -  reshape(^, v)
  Ql   -   len(inp)
     q - ^ == inp

Allow reshape node to take a list as well as a string