Post History
BQN (CBQN), 10 bytes Anonymous function that takes m on the left and n on the right. {π¨βΏπ©β₯βπ¨Γπ©} βπ¨Γπ© # list of range [0,m*n) π¨βΏπ©β₯ # reshape list to m*n Try it here!
Answer
#2: Post edited
# [BQN (CBQN)](https://mlochbaum.github.io/BQN/), 29 bytes- Anonymous function that takes `m` on the left and `n` on the right.
- ```bqn
- {π¨βΏπ©β₯βπ¨Γπ©}
- βπ¨Γπ© # list of range [0,m*n)
- π¨βΏπ©β₯ # reshape list to m*n
- ```
- [Try it here!](https://mlochbaum.github.io/BQN/try.html#code=RuKGkHvwnZWo4oC/8J2VqeKliuKGlfCdlajDl/Cdlal9Cm3ihpAyCm7ihpAzCm0gRiBu)
- # [BQN (CBQN)](https://mlochbaum.github.io/BQN/), 10 bytes
- Anonymous function that takes `m` on the left and `n` on the right.
- ```bqn
- {π¨βΏπ©β₯βπ¨Γπ©}
- βπ¨Γπ© # list of range [0,m*n)
- π¨βΏπ©β₯ # reshape list to m*n
- ```
- [Try it here!](https://mlochbaum.github.io/BQN/try.html#code=RuKGkHvwnZWo4oC/8J2VqeKliuKGlfCdlajDl/Cdlal9Cm3ihpAyCm7ihpAzCm0gRiBu)
#1: Initial revision
# [BQN (CBQN)](https://mlochbaum.github.io/BQN/), 29 bytes Anonymous function that takes `m` on the left and `n` on the right. ```bqn {π¨βΏπ©β₯βπ¨Γπ©} βπ¨Γπ© # list of range [0,m*n) π¨βΏπ©β₯ # reshape list to m*n ``` [Try it here!](https://mlochbaum.github.io/BQN/try.html#code=RuKGkHvwnZWo4oC/8J2VqeKliuKGlfCdlajDl/Cdlal9Cm3ihpAyCm7ihpAzCm0gRiBu)