interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / sort-an-integer-array / oracle.py

5 lines · 231 bytes Raw Blame History
1# Independent reference for "Sort an integer array" (Python 3, standard library only).
2# expected.txt is this program's stdout; omc never produced it.
3a = [2, 4, 3, 1, 2, -10, 37, 0, 15, -10, 8, 100, 5]
4print(*a)
5print(*sorted(a))