Skip to main content

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


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)

Uploaded Source

Built Distribution

gmp-0.0.17-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page