top of page
Richard Gayle's Web Home
Python
a few samples of Python code I've written over the last three or so years.
finds all zeros of user defined function on given interval to within specified
tolerance
generates finite list of Fermat pseudo-primes
implements Revez-Shamir-Adelman encryption for simple text keypad encoding
converts base-ten integer to its binary representation
generates the table of 2^n value assignments for a collection of n logicals
generates the power set for a given set represented as a string
bottom of page