Magic Py Ball is a simple Python implementation of a random magic 8 ball.
>>> answer()
'Without a doubt.'
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+.
A list
of str
objects representing all possible magic 8 ball answers
Gets a random magic 8 ball answer using random.choice()
.