omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / loops-continue / oracle.py
| 1 | # Independent reference for "Loops/Continue" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | for i in range(1, 11): |
| 4 | print(i, end="") |
| 5 | if i % 5 == 0: |
| 6 | print() |
| 7 | continue |
| 8 | print(", ", end="") |