Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def prime(number):
for a in range(2, number+1):
if number % a & number != a:
return true
else:
return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment