Post History
Python 3, 49 bytes lambda m,n:[[*range(n*_,n*_+n)]for _ in range(m)] Try it online!
Answer
#1: Initial revision
# [Python 3], 49 bytes <!-- language-all: lang-python --> lambda m,n:[[*range(n*_,n*_+n)]for _ in range(m)] [Try it online!][TIO-l2kmjsfl] [Python 3]: https://docs.python.org/3/ [TIO-l2kmjsfl]: https://tio.run/##K6gsycjPM/5fUJSZV6Kh8T8nMTcpJVEhVyfPKjpaqygxLz1VI08rXgeItfM0Y9PyixTiFTLzFCAyuZqx/zU1jHSMNTX/AwA "Python 3 – Try It Online"