/pyfrac

fractions in python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Pyfrac

Fractions in python

Description

Add fraction to python, along with a lot of operations.
This is coded by a student major in Network Engineering, may not be of high quality

Use

1.Download "pyfrac.py"
2.put the file under the same directory with your .py
3.use "from pyfrac import *" to import the class

Manual

See "example.py" to get more information