Can i sublist lists into list | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can i sublist lists into list

12th Jun 2019, 1:52 PM
shobhit arora
shobhit arora - avatar
2 Answers
+ 3
Do you mean something like this? lst = [[1 ,2, 3], [4, 5, 6], [7, 8, 9]] print(lst)
12th Jun 2019, 1:58 PM
Diego
Diego - avatar
12th Jun 2019, 6:44 PM
shobhit arora
shobhit arora - avatar