we have an array p = [[none]*5]*6 and we want to fill it with number 1
something like this:
[[1, none, none, 1, 1],[none, 1, none, 1, none],[none, 1, 1, 1, none], [1, none, 1, none, 1], [none, 1, none, 1, none],[1, none, 1, none, none]]
Aucun commentaire:
Enregistrer un commentaire