A simple module to calculate the average of numbers
Project description
avnum
A simple Python module to calculate the average of numbers.
Installation
pip install avnum
Usage
import avnum
avnum.average()
Examples
Example 1:
import avnum
list = [1, 2, 3]
avnum.average(list)
Example 2:
import avnum
avnum.average(1, 2, 3)
Example 3:
import avnum
num_input = input()
num_average = avnum.average(num_input)
print(num_average)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
avnum-1.0.tar.gz
(1.5 kB
view details)
Built Distribution
avnum-1.0-py3-none-any.whl
(1.7 kB
view details)
File details
Details for the file avnum-1.0.tar.gz
.
File metadata
- Download URL: avnum-1.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09efefce36cb900e0fbe2603e089eb8aa28f98a30f1d1eed04788ac7bf99b6a |
|
MD5 | fbae74a9382366298710fa89da761b52 |
|
BLAKE2b-256 | e5f160dbb8c5ea506ace5e5e5961b2ca1c36a76adcd6663a96c2a194907db596 |
File details
Details for the file avnum-1.0-py3-none-any.whl
.
File metadata
- Download URL: avnum-1.0-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f19bc3b0335252d16bc2538ec9571ab959da860a78883ced3366347ba170b74 |
|
MD5 | 33035654278cb94979897522584544c5 |
|
BLAKE2b-256 | d8024148a8fa171b727da4b1f4e4af564142600466647471c0ef51acfff81400 |