omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / remove-duplicate-elements / oracle.py
| 1 | # Independent reference for "Remove duplicate elements" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | a = [4, 9, 4, 1, -3, 9, 0, 1, 7, 4, -3, 12, 0, 9, 5] |
| 4 | print(*a) |
| 5 | print(*dict.fromkeys(a)) |