\l
\dt
\dt testschema.*
| import itertools | |
| n = (1, 2, 3, 4, 5, 6, 7, 8, 9) | |
| for x in itertools.permutations(n): | |
| bunbo1 = x[1] * 10 + x[2] | |
| bunbo2 = x[4] * 10 + x[5] | |
| bunbo3 = x[7] * 10 + x[8] | |
| bunshi1 = x[0] * bunbo2 * bunbo3 | |
| bunshi2 = x[3] * bunbo1 * bunbo3 | |
| bunshi3 = x[6] * bunbo1 * bunbo2 |
A brief example on how to use npx to run gist based scripts.
Read the article here https://neutrondev.com/npm-vs-npx-whats-the-difference/