Skip to content

Instantly share code, notes, and snippets.

@loganintech
Created November 17, 2016 22:16
Show Gist options
  • Save loganintech/7814a2abf911251f88bae9f98d261f9d to your computer and use it in GitHub Desktop.
Save loganintech/7814a2abf911251f88bae9f98d261f9d to your computer and use it in GitHub Desktop.
def generate_table(size):
table = []
for i in range(size):
temp_list = []
for x in range(size):
temp_list.append(-1)
table.append(temp_list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment