python - Trying to create n*m matrix -
Trying to create
Board (2, 3)
whose As a result
[[nobody, none, no one], [none, none, none]]
However, I only have 6 Usually, this is done: in the range (n)] none
def none_board (n, m ): [[None] for the [[Range (M)] for the code
L1 + = <2 pre> l1.append (l2)
Comments
Post a Comment