c = [list(input()) for _ in range(h)]
..# .#. ↓ [['.', '.', '#'], ['.', '#', '.']]
Recommended Posts