Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local current_file = 0
- local file
- for a = 1, 55 do
- if file then
- file:close()
- end
- current_file = current_file + 1
- file = io.open(current_file .. ".txt", "a+")
- for b = a + 1, 56 do
- for c = b + 1, 57 do
- for d = c + 1, 58 do
- for e = d + 1, 59 do
- for f = e + 1, 60 do
- file:write(string.format("%02d\t%02d\t%02d\t%02d\t%02d\t%02d\n", a, b, c, d, e, f))
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement