interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / cocktail-sort-with-shifting-bounds / oracle.py

5 lines · 263 bytes Raw Blame History
1# Independent reference for "Sorting algorithms/Cocktail sort with shifting bounds" (Python 3, standard library only).
2# expected.txt is this program's stdout; omc never produced it.
3a = [21, -4, 7, 7, 0, 88, -15, 3, 42, 9, 1, -4, 60]
4print(*a)
5print(*sorted(a))