Skip to main content

RandomCarrot is a module for Python that can generate random numbers, letters or something else.

Project description

RandomCarrot (Carrot)

Carrot is a module for Python also know as RandomCarrot.

Installation

Use the package manager pip to install Carrot.

pip install RandomCarrot

Usage

Importing is very easy in Carrot. All you need to do is type:

import carrot

To display random numbers type:

carrot.randomnumber()

To display random letters:

carrot.randomletters()

You can adjust length for letters by typing:

carrot(length=)

To display both numbers and letters:

carrot.both()

(again you can adjust length by typing the same text like in letters)

Developer Usage

If you want to use developer commands, feel free to use them! Everyone can use them, even if you just want to see how do they work. If you want to try using carrot.randomnumber() like a developer, here is the code:

carrot.random_number_generator()

If you want to try using carrot.randomletter() like a developer, here is the code:

carrot.random_letters_generator()

And if you want to use carrot.both like a developer, here is the command:

carrot.both_numbers_letters_generator()

Use them knowing these commands can work not as they used to. Happy coding!

License

MIT

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

RandomCarrot-1.0-py3-none-any.whl (2.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