environment/share/doc/ipython/examples/parallel/pi/pidigits.py
def compute_n_digit_freqs(filename, n):
    """
    Read digits of pi from a file and compute the n digit frequencies.
    """
    d = txt_file_to_digits(filename)
    freqs = n_digit_freqs(d, n)
    return freqs
def compute_n_digit_freqs(filename, n):
    d = txt_file_to_digits(filename)
    freqs = n_digit_freqs(d, n)
    return freqs
def compute_n_digit_freqs ( filename , n ) : d = txt_file_to_digits ( filename ) freqs = n_digit_freqs ( d , n ) return freqs
Read digits of pi from a file and compute the n digit frequencies.
Read digits of pi from a file and compute the n digit frequencies .