Last digit of squares
Project description
This is an experimental package for demonstration purposes in video courses. It depends on Numpy and Pandas. It calculates the square numbers up to n, takes the last digit of each and creates a distribution dictionary. Example usage:
from fcs_package.fcs_last_digit import last_digit_of_squares
print(last_digit_of_squares(1000))
Result:
{0: 100, 1: 200, 4: 200, 5: 100, 6: 200, 9: 200}
Big numbers should be avoided because square should fit into 32 bit integer.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fcs_package-1.0.1.tar.gz.
File metadata
- Download URL: fcs_package-1.0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f88c4159d6be168c2dd1dfe9483550abb4155ddbe52d841149e09c8d2328850
|
|
| MD5 |
de003190f1f8240a058b4a0de09d88c4
|
|
| BLAKE2b-256 |
f7d51a23b968d61996d92540fe87a24e14ad1b481c10c84595da96240665c262
|
File details
Details for the file fcs_package-1.0.1-py3-none-any.whl.
File metadata
- Download URL: fcs_package-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1389e0532fe5f6db13d51e5fcd3e20d052fae3ef2d26d02a65230f201b2bd854
|
|
| MD5 |
e047e819b921242712c00a03351f8b5b
|
|
| BLAKE2b-256 |
c9dd8c384bd0d1c5252539e266472061a8c5afc8a227cdc4bb3e282ca8c07b63
|