Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for The Stone Wall by mefka5757
def stone_wall(wall):
wall = wall.split('\n')[1:-1]
wall_columns = [[row[i] for row in wall] for i, _ in enumerate(wall[0])]
width = [x.count('#') for x in wall_columns]
return width.index(min(width))
Sept. 10, 2018
Comments: