Skip to content

Instantly share code, notes, and snippets.

@ngocnhan2003
Last active November 29, 2022 16:26
Show Gist options
  • Select an option

  • Save ngocnhan2003/fbf298c45f04288f96b0228a88b4374c to your computer and use it in GitHub Desktop.

Select an option

Save ngocnhan2003/fbf298c45f04288f96b0228a88b4374c to your computer and use it in GitHub Desktop.
s = 20242
res = []
i = 0
while i < 200:
if len(res) >= 4:
print(";".join(str(r) for r in res))
res = []
res.append(s + i)
i += 1
if i % 12 == 0:
res.append(s + i - 1 + 1000)
# print(s + i - 1 + 1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment