Jump to content

riad

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About riad

  • Rank
    Newbie
  1. riad

    2d matrix values

    I have a 2-dimensional matrix, initialized to matrix_height [['-'] * 10] * 10 I replace certain boxes so as to have (visually) this: ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['A', 'A', 'A', 'A', '-', '-', '-', '-', '-', '-'] ['-', '-', '-', '-', '-', '-',
×
×
  • Create New...