omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / sort-an-integer-array / oracle.py
| 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. |
| 3 | a = [2, 4, 3, 1, 2, -10, 37, 0, 15, -10, 8, 100, 5] |
| 4 | print(*a) |
| 5 | print(*sorted(a)) |