Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
paddling in the Julia unit testing pond

Drew Dolgert adolgert

💭
paddling in the Julia unit testing pond
View GitHub Profile
@adolgert
adolgert / etet.py
Created Jan 5, 2017
Solve 8833 puzzle stochastically
View etet.py
"""
Find an expression using the numbers 8, 8, 3, 3 each exactly once, without
replacement, combined with any number of the operators in +, -, *, /
such that the expression evaluates to 24.
"""
from fractions import Fraction
import os
import random
def add(a, b):