Jan-31-2018, 06:57 AM
Hello. How can be created a 2D list in a loop starting from 1 to 9:
[[1,2,3],
[4,5,6],
[7,8,9]]
Thanks beforehand.
[[1,2,3],
[4,5,6],
[7,8,9]]
Thanks beforehand.
2D list creation
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
List Creation and Position of Continue Statement In Regular Expression Code | new_coder_231013 | 3 | 2,669 |
Jun-15-2022, 12:00 PM Last Post: new_coder_231013 |
|
List Creation | sunnyarora | 3 | 3,158 |
Mar-15-2019, 11:05 PM Last Post: farhan275 |
|
List creation and return in Function | leoahum | 3 | 3,268 |
Mar-04-2019, 04:45 PM Last Post: leoahum |