<commit_before># trivial example = 30/50 = 3/5 
# non-trivial example = 49/98 = 4/8 

# There are 4 non-trivial types of these fractions < 1 and both numerator and 
# denominator contain  two digits find the the product of the four in its 
# lowest common terms, what is the denominator? 

import timeit
import itertools


start = timeit.default_timer()

def euler_33():
    numerators = list()
    denominators = list()
    product = lambda x, y: x * y
    to_string = lambda x, y: str(x).replace(y, '')
    fractions = [f for f in itertools.permutations(xrange(10, 100), 2) 
                 if f[0] < f[1] and not any(i % 10 == 0 or
                                            i / 10 == i % 10 for i in f)]
    for f in fractions:
        n_cpm = {d for d in str(f[0])}<commit_msg>no need for the two conditions :)<commit_after># trivial example = 30/50 = 3/5 
# non-trivial example = 49/98 = 4/8 

# There are 4 non-trivial types of these fractions < 1 and both numerator and 
# denominator contain  two digits find the the product of the four in its 
# lowest common terms, what is the denominator? 

import timeit
import itertools


start = timeit.default_timer()

def euler_33():
    numerators = list()
    denominators = list()
    product = lambda x, y: x * y
    to_string = lambda x, y: str(x).replace(y, '')
    fractions = [f for f in itertools.permutations(xrange(10, 100), 2) 
                 if f[0] < f[1] and not any(i % 10 == 0 or i % 11 == 0 for i in f)]
    for f in fractions:
        n_cpm = {d for d in str(f[0])}
{'fraction_non_alphanumeric': 0.10591293047433398, 'fraction_numerical': 0.04093567251461988, 'mean_word_length': 2.532110091743119, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2205653', 'n_tokens_mistral': 559, 'n_tokens_neox': 497, 'n_words': 204}