interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / copy-a-string / oracle.py

7 lines · 267 bytes Raw Blame History
1# Independent reference for "Copy a string" (Python 3, standard library only).
2# expected.txt is this program's stdout; omc never produced it.
3src = "Hello"
4dst = list(src) # an independent copy
5dst[0] = "J"
6print("source: " + src)
7print("copy: " + "".join(dst))