A little package for GMP
Project description
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")
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
gmp-0.0.17.tar.gz
(12.3 kB
view details)
Built Distribution
gmp-0.0.17-py3-none-any.whl
(11.4 kB
view details)
File details
Details for the file gmp-0.0.17.tar.gz
.
File metadata
- Download URL: gmp-0.0.17.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eace26d42f0968acfcd321d55b4416bfb028249d18faee1a309b99b4218318d5 |
|
MD5 | 430656ccb825dbf12497eb9c79adb8c5 |
|
BLAKE2b-256 | 9aad4d3998d18c9818926ad0fd01fa590834521290d557b636fd00846f2fa8a8 |
File details
Details for the file gmp-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: gmp-0.0.17-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0357701cd44a46d9ed3fc3eb0202325dd073b35c89fd769bcd71b141114d0149 |
|
MD5 | dfb63cc9a336a5a9df7285e66bfa2d60 |
|
BLAKE2b-256 | 11dead9cb6b79e4956712857b9db04aa9fe822a47d1ac9c2a0ee3783e85da34f |