semvec/pypi-packages huggingface dataset:
adikfraction 0.0.1
Fraction operation by Adisak Karnbanjong
License: MIT
Keywords: Fraction,Mathematics,Adisak,Karnbanjong

Package name : adikfraction
===========================

adikfraction is a Python library for dealing with Fraction operation.

Installation
------------

Use the package manager `pip <https://pip.pypa.io/en/stable/>`__ to
install Package_name.

.. code:: bash

   pip install adikfraction

Usage
-----

.. code:: python

   from adikfraction import Fraction

   fraction1 = Fraction(2,5)
   fraction2 = Fraction(7,10)
   print(f"fraction1 = {fraction1}")
   print(f"fraction2 = {fraction2}")
   print(f"fraction1+fraction2 = {fraction1+fraction2}")
   print(f"fraction1-fraction2 = {fraction1-fraction2}")
   print(f"fraction1*fraction2 = {fraction1*fraction2}")
   print(f"fraction1/fraction2 = {fraction1/fraction2}")

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.

Author
------

Adisak Karnbanjong

License
-------

`MIT <https://choosealicense.com/licenses/mit/>`__