How to create a 2d array with consecutive numbers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create a 2d array with consecutive numbers?

Please help, I need to create a grid of numbers like 1 2 3 4 5 6 7 8 9 But obviously using the 2d array in python.

24th Feb 2019, 7:22 PM
Matt Sampson
Matt Sampson - avatar
5 Answers
+ 3
Please show us your attempt.
24th Feb 2019, 9:04 PM
Diego
Diego - avatar
+ 2
Marvelous cooperation, guys. 😂
24th Feb 2019, 9:35 PM
HonFu
HonFu - avatar
+ 1
Homework?
24th Feb 2019, 7:38 PM
HonFu
HonFu - avatar
+ 1
Yes
24th Feb 2019, 7:54 PM
Matt Sampson
Matt Sampson - avatar