• theotherswan

    Please help. The following codes work fine on other Python platforms but not in Pythonista on my iPhone 8:

    grid = [['.', '.', '.', '.', '.', '.'],
            ['.', 'O', 'O', '.', '.', '.'],
            ['O', 'O', 'O', 'O', '.', '.'],
            ['O', 'O', 'O', 'O', 'O', '.'],
            ['.', 'O', 'O', 'O', 'O', 'O'],
            ['O', 'O', 'O', 'O', 'O', '.'],
            ['O', 'O', 'O', 'O', '.', '.'],
            ['.', 'O', 'O', '.', '.', '.'],
            ['.', '.', '.', '.', '.', '.']]
    
    for column in len(grid[0]):
        print()
        for row in len(grid):
            print(grid[column][row])
    
    print()
    

    Please help.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!