picture = [
[0,0,0,1,0,0,0],
[0,0,1,1,1,0,0],
[0,1,1,1,1,1,0],
[1,1,1,1,1,1,1],
[0,0,0,1,0,0,0],
[0,0,0,1,0,0,0]
]
for line in picture:
for pixel in line:
if pixel == 0:
print(' ', end='') # This end params keeps everything on the same line
else:
print('*', end='')
print('') # At the end of each (picture) line, a newline should be started