Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 961 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 961 Bytes

Magic Py Ball

Magic Py Ball is a simple Python implementation of a random magic 8 ball.

>>> answer()
'Without a doubt.'

Downloads Supported Versions License Version

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