interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / research / om-bench / controls / fibo-ref.py

6 lines · 122 bytes Raw Blame History
1import sys
2n = int(sys.stdin.read().split()[0])
3a, b = 0, 1
4for _ in range(n):
5 a, b = b, (a + b) % (1 << 64)
6print(a)