Create a method display that prints the structure of the maze on the screen, using print.
Create a method find_random_spot that returns a tuple (line_number, column_number) which is an "empty space" in the maze structure.
What is the most computationally / memory efficient way of doing this? Discuss in the forums or on Discord!
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
30 | 31 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 1 | 2 | 3 |
Get Free Quote!
266 Experts Online