omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / shell-sort / oracle.py
| 1 | # Independent reference for "Sorting algorithms/Shell sort" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | a = [54, 26, 93, 17, 77, 31, 44, 55, 20, -6, 0, 13, -21, 93, 8] |
| 4 | print(*a) |
| 5 | print(*sorted(a)) |