Skip to main content

A library to generate booleans with a given percentage.

Project description

There is a total of 2 functions in this library: RTrue(perc) —> perc can either be a float or an integer. There is a “perc”-percent chance that the function will return True, otherwise it will return False. RFalse(perc) —> perc can either be a float or an integer. There is a “perc”-percent chance that the function will return False, otherwise it will return True. Same logic, but the output is reversed.

Change Log

0.0.1 (4/03/2021)

  • First Release

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

randpercent-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file randpercent-0.0.1.tar.gz.

File metadata

  • Download URL: randpercent-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for randpercent-0.0.1.tar.gz
Algorithm Hash digest
SHA256 09196fae5e4f2510bb7ed932245910925f95ae2cfb3b220049707895b3f1e055
MD5 c7d3ef1fc0620d970c4a077e3decd357
BLAKE2b-256 7571cd319645225e341193d57d3cb962233d06dc9b048fe7a0d9965e927b6643

See more details on using hashes here.

Supported by

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