« first day (1391 days earlier)      last day (1950 days later) » 

11:10 PM
0
Q: How to detect a sequence in a 2d array (Python)

AJD98The code below outputs a 5x5 2d array of 0's, which both player 1 and player 2 can insert either a 1, or a 2. I need the program to detect when there is a square block of either 1's or 2's, for example: 1 1 1 1 array = [[0 for row in range(5)] for col in...

 
1 message moved from Python
 

« first day (1391 days earlier)      last day (1950 days later) »