13 lines
139 B
Plaintext

import log
main() {
log.number(fibonacci(10))
}
fibonacci(x) {
if x <= 1 {
return x
}
return fibonacci(x - 1) + fibonacci(x - 2)
}