Made with Python3
(C) @FayasNoushad
Copyright permission under MIT License
License -> https://github.com/FayasNoushad/Py-Maths/blob/main/LICENSE

Installation

pip install Py-Maths

Usage

Percentage

from mathematics import percentage

number = 10
total = 500

print(percentage(number, total))
# => 2.0

Average

from mathematics import average

print(average([1, 2, 3, 4, 5]))
# => 3.0

Credits


GitHub

View Github