This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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): |