interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / loops-do-while / oracle.py

8 lines · 219 bytes Raw Blame History
1# Independent reference for "Loops/Do-while" (Python 3, standard library only).
2# expected.txt is this program's stdout; omc never produced it.
3v = 0
4while True:
5 v += 1
6 print(v)
7 if v % 6 == 0:
8 break