A simple magic 8 ball
Project description
Magic Py Ball
Magic Py Ball is a simple Python implementation of a random magic 8 ball.
>>> answer()
'Without a doubt.'
Installation
Magic Py Ball is available on PyPI:
$ python -m pip install magic_py_ball
Magic Py Ball officially supports Python 2.7 and 3.5+.
API Reference
magic_py_ball.ANSWERS
A list
of str
objects representing all possible magic 8 ball answers
magic_py_ball.answer()
Gets a random magic 8 ball answer using random.choice()
.
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
magic_py_ball-2.2.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for magic_py_ball-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646692c675dc2acd0f09e15c0a37fe4fa51061b17e548412a058351b7d7f5d32 |
|
MD5 | 38eae828f0c9c0f950a1fbbfe7cfae62 |
|
BLAKE2b-256 | 0ff6e73c60847806082914bcadfb40a2e8f6edbe2f2387b495f77081cc9f98c2 |