Skip to content

Instantly share code, notes, and snippets.

@csytan
Forked from anonymous/lolloop
Created March 17, 2010 02:39
Show Gist options
  • Save csytan/334823 to your computer and use it in GitHub Desktop.
Save csytan/334823 to your computer and use it in GitHub Desktop.
for i in range(0, len(x)):
for j in range(0, len(x)):
indice = i * len(x) + j
value = x[i] ** (len(x) - j)
M.put(indice, value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment