interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / fizzbuzz / oracle.py

4 lines · 258 bytes Raw Blame History
1# Independent reference for "FizzBuzz" (Python 3, standard library only).
2# expected.txt is this program's stdout; omc never produced it.
3for n in range(1, 101):
4 print("FizzBuzz" if n % 15 == 0 else "Fizz" if n % 3 == 0 else "Buzz" if n % 5 == 0 else n)