Comment créer une liste a deux dimensions en python ??? How to create a list with two dimension ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Comment créer une liste a deux dimensions en python ??? How to create a list with two dimension ???

exemple : les matrices .

2nd Jan 2018, 9:20 PM
Edi Ange
Edi Ange - avatar
3 Answers
+ 2
Simply nest it: Mylist = [ [ ], [ ] ] has 2 dimensions hasn't it?
2nd Jan 2018, 9:55 PM
Corentin
Corentin - avatar
+ 1
De rien ;)
2nd Jan 2018, 10:01 PM
Corentin
Corentin - avatar
0
it is thank you !
2nd Jan 2018, 9:56 PM
Edi Ange
Edi Ange - avatar