python-plus-plus/examples/fib.ppp
2024-10-01 19:06:03 +10:00

5 lines
107 B
Plaintext

a: (int, int) = (0, 1);
for i in range(0, 100) {
a = (a[1], a[0] + a[1]);
print(int_to_str(a[0])+"\n");
}