This is just a little package I made for my GMP teacher.
To print things with style you can use the printing class
import gmp
style = gmp.printing("purple4", "blue")
print(style.print([1,2,3], ["hello", "world"], ...))
If you feel like rainbow's you can use the rainbow class with lolcat!
import gmp
color = gmp.rainbow(False)
print(color.lolcat("I love rainbows"))
color = gmp.rainbow(True)
print(color.lolcat("Lolcat is super cool"))
If you can't solve a project eulier problem we have you solution! You can replace 10 with your project eulier problem.
import gmp
gmp.solve("10")
Is it prime??? I don't know, ask the isprime function.
import gmp
gmp.isprime("30")
Metadata
Release files for gmp 0.0.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gmp-0.0.17.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gmp-0.0.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.7 kB
Release files / gmp-0.0.17.tar.gz
| Download URL | gmp-0.0.17.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eace26d42f0968acfcd321d55b4416bfb028249d18faee1a309b99b4218318d5
|
|
BLAKE2b-256 checksum How to use checksums |
9aad4d3998d18c9818926ad0fd01fa590834521290d557b636fd00846f2fa8a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / gmp-0.0.17-py3-none-any.whl
| Download URL | gmp-0.0.17-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0357701cd44a46d9ed3fc3eb0202325dd073b35c89fd769bcd71b141114d0149
|
|
BLAKE2b-256 checksum How to use checksums |
11dead9cb6b79e4956712857b9db04aa9fe822a47d1ac9c2a0ee3783e85da34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|