omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / stooge-sort / oracle.py
| 1 | # Independent reference for "Sorting algorithms/Stooge sort" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | a = [1, 4, 5, 3, -6, 3, 7, 10, -2, -5, 7, 5, 9, -3, 7] |
| 4 | print(*a) |
| 5 | print(*sorted(a)) |