mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-06 20:00:45 +08:00

* Remove multiple newlines at the end of file * Remove the white space from the end of line
6 lines
74 B
QBasic
6 lines
74 B
QBasic
def fnfac(n)
|
|
if n=1 then fnreturn 1
|
|
fnend n*fnfac(n-1)
|
|
|
|
print fnfac(10)
|