python-plus-plus/examples/fib.ppp

5 lines
107 B
Plaintext
Raw Normal View History

2024-10-01 19:06:03 +10:00
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");
}