Community Profile

photo

Thomas DiMauro


Active since 2015

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How can I create a matrix of alternating 1s and 0s for any size matrix?
I am trying to script that will display a square matrix of alternating 1s and 0s. ex: 1 0 1 0 0 1 0 1 1 0 1 0...

6 years ago | 2 answers | 0

2

answers