/bogo1

An implementation of bogosort in python in a single line of code.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Bogo1

A one line implementation of bogosort in python.

How to use:

  • import bogo1 (until I make this a real package with setup.py it must be in the same directory as whatever module imports it)
  • bogo1.sort(list)