Skip to content

Instantly share code, notes, and snippets.

View coder46's full-sized avatar
🚀

Faisal Anees coder46

🚀
View GitHub Profile
@coder46
coder46 / egyptian_fractions.py
Created December 12, 2013 22:28
This is just a draft of sympy/ntheory/egyptian_fractions.py . Please tell me how should I arrange the docstrings.
from __future__ import print_function, division
from sympy import Rational
from fractions import gcd
from random import randint
def egypt(rat,choice):
def egypt_greedy():
"""