Liste PY 3D
import pprint # importing pretty printed
def ThreeD(a, b, c):
lst = [[ ['#' for values in range(a)] for col in range(b)] for row in range(c)]
return lst
values= 5
col = 3
row = 2
# used the pretty printed function
pprint.pprint(ThreeD(values, col, row))
""" OUTPUT
[[['#', '#', '#', '#', '#'],
['#', '#', '#', '#', '#'],
['#', '#', '#', '#', '#']],
[['#', '#', '#', '#', '#'],
['#', '#', '#', '#', '#'],
['#', '#', '#', '#', '#']]]
"""
Disturbed Deer