python-plus-plus/examples/fib.ppp
2025-01-06 13:58:40 +11:00

5 lines
103 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");
}