Cody Bable

Generation

generate functionWed, 05 Jul 2023

make a 8 by 8 grid

def make_grid(columns, rows): return [[0] * columns for i in range(rows)] make_grid(8, 8)

Questions about programming?Chat with your personal AI assistant