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 hashes)
Built Distribution
gmp-0.0.17-py3-none-any.whl
(11.4 kB
view hashes)