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.3.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for magic_py_ball-2.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcb0a764ed6e5dce702572d02a5dc9ae3dd14a3f32ad07e5f5a5d4a941edc9b6 |
|
MD5 | 22d35ee6a223ae373af70be34d274edf |
|
BLAKE2b-256 | 0209c222ea90e495f9cf58e92f967f635f5d7ae55c05691a88558da8b77b6d5a |