Skip to content

Instantly share code, notes, and snippets.

View odevine's full-sized avatar
💭
fishing digitally

Owen Devine odevine

💭
fishing digitally
View GitHub Profile
@odevine
odevine / watoRules
Created April 8, 2015 15:42
What are the odds Groupme bot design
/wato
"Proper formatting is "/wato (number for odds) @NAME1 @NAME2" "
/wato ## @NAME1 @NAME2
## is the maximum number
"This is the $$ time the program has been used"
"Starting game for 1 in ## odds in 30 seconds."
"Game is between NAME1 and NAME2."
"Please text me your number of choice at ###-###-####"
@odevine
odevine / Simple prime gen
Last active August 29, 2015 14:13
Just a simple method to generate primes and list which prime has been generated.
import math
def main():
count = 2
count2 = 1
while True:
isprime = True
for x in range(2, int(math.sqrt(count) + 1)):
if count % x == 0:
isprime = False