Skip to content

Instantly share code, notes, and snippets.

@kmill
Created August 16, 2016 20:57
Show Gist options
  • Save kmill/fbe66cd7c36d3a2b9b1ba2829b7b6cec to your computer and use it in GitHub Desktop.
Save kmill/fbe66cd7c36d3a2b9b1ba2829b7b6cec to your computer and use it in GitHub Desktop.
num = 1
while True:
rems = (num % 3, num % 4, num % 5, num % 6)
print num, rems
if rems == (1, 2, 3, 4):
print num
break
num += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment