Skip to content

Instantly share code, notes, and snippets.

@DjamikTea
Created December 21, 2021 15:20
Show Gist options
  • Save DjamikTea/39d9b57ed52523a7597ad69c2354a8ab to your computer and use it in GitHub Desktop.
Save DjamikTea/39d9b57ed52523a7597ad69c2354a8ab to your computer and use it in GitHub Desktop.
numbers = []
for i in range(3721, 7752 + 1):
if (i % 3 == 0) and (str(bin(i)).endswith('000') == False):
numbers.append(i)
print(numbers)
print(len(numbers))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment