chalk/programs/comb_fib.chalk

15 lines
282 B
Plaintext
Raw Normal View History

2018-08-05 14:25:40 -07:00
fun main(): u0 {
var a = 1;
var b = 1;
while(233 - a) {
draw_number(a, 24, 13);
set_delay(30);
var temp = a;
a = b;
b = b + temp;
while(get_delay()){}
draw_number(temp, 24, 13);
}
draw_number(a, 24, 13);
}