Hi,
How can I print this figure if I have an array like this?
It should be a for-loop but don´t know how.
labyrinth = \
[[0,0,0,0,0,0,1,0],
[0,1,0,1,1,1,1,0],
[0,1,1,1,0,1,0,0],
[0,1,0,0,0,0,0,0],
[0,1,1,0,1,1,1,0],
[0,0,1,1,1,0,0,0],
[0,1,1,0,1,1,1,0],
[0,1,0,0,0,0,0,0]]
figure:
############. ##
## ##. . . . ##
##. . . ## ####
##. ############
##. . ## ##
####. ######
##. . ## ##
##. ############