Skip to content

Instantly share code, notes, and snippets.

@oyvindrobertsen
Created October 25, 2015 11:23
Show Gist options
  • Save oyvindrobertsen/ed54591d9e1daf306adc to your computer and use it in GitHub Desktop.
Save oyvindrobertsen/ed54591d9e1daf306adc to your computer and use it in GitHub Desktop.
def mult(n):
return [[i*j for j in range(1, n+1)] for i in range(1, n+1)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment