更简单的方法:
for row in picture: for col in row: print(end=' *'[col]) print()
非常简短的版本:
'\n'.join(''.join(map(' *'.__getitem__, row)) for row in picture)