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()
.