interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / remove-duplicate-elements / oracle.py

5 lines · 243 bytes Raw Blame History
1# Independent reference for "Remove duplicate elements" (Python 3, standard library only).
2# expected.txt is this program's stdout; omc never produced it.
3a = [4, 9, 4, 1, -3, 9, 0, 1, 7, 4, -3, 12, 0, 9, 5]
4print(*a)
5print(*dict.fromkeys(a))