shahank42 / fracti.py

A rudimentary Python class/module to handle fractions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fracti

Fracti is a rudimentary Python library for handling and working with fractions.

Usage

import fracti as fr

a = fr.Fraction(6, 4)

a.print()

print(type(a))

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

A rudimentary Python class/module to handle fractions.


Languages

Language:Python 100.0%